1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:22:09 +02:00
tldr/pages/linux/strip.md
2021-11-10 05:57:28 -03:00

16 lines
386 B
Markdown

# 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}}`