UNIX in a Nutshell: System V Edition

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

strings

strings [options] files

Search object or binary files for sequences of four or more printable characters that end with a newline or null. See also od.

Options

-a

Search entire file, not just the initialized data portion of object files. Can also specify this option as -.

-o

Display the string's offset position before the string.

-n n

Minimum string length is n (default is 4). Can also specify this option as -n.

-t format

Specify how to print string offsets. format is one of d, o, or x for decimal, octal, or hexadecimal, respectively. Solaris only.


Previous: Reference: sshUNIX in a Nutshell: System V EditionNext: Reference: strip
Reference: sshBook IndexReference: strip

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