System Grab Bag

View all TLDR pages from Linux (or from all pages)

strip

Discard symbols from executables or object files. More information: https://manned.org/strip.
  • Replace the input file with its stripped version:
    strip {{path/to/file}}
  • Strip symbols from a file, saving the output to a specific file:
    strip {{path/to/input_file}} -o {{path/to/output_file}}
  • Strip debug symbols only:
    strip --strip-debug {{path/to/file.o}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.