mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
strip: add page (#7378)
This commit is contained in:
parent
87e3e877fa
commit
42c9fb0eb7
1 changed files with 16 additions and 0 deletions
16
pages/linux/strip.md
Normal file
16
pages/linux/strip.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue