mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 05:50:53 +00:00
Update cheatsheets
This commit is contained in:
21
linux/strip
Normal file
21
linux/strip
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user