UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: stringsChapter 2
Unix Commands
Next: Reference: stty
 

strip

/usr/ccs/bin/strip [options] files

Remove information from ELF object files or archive files, thereby reducing file sizes and freeing disk space. The following items can be removed:

  1. Symbol table

  2. Debugging information

  3. Line number information

  4. Static symbol information

  5. External symbol information

  6. Block delimiters

  7. Relocation bits

ELF versions of strip provide facilities for removing only the first three items.

Options

The following options refer to the previous list:

-b

Strip only Items 1, 2, and 3. This is the default.

-l

Strip only Item 3 (line number information).

-r

Strip Items 1, 2, 3, and 6. (Solaris: same as the default action: strip Items 1, 2, and 3.)

-V

Print the version number of strip on standard error.

-x

Strip only Items 2 and 3.


Previous: Reference: stringsUNIX in a Nutshell: System V EditionNext: Reference: stty
Reference: stringsBook IndexReference: stty

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System