Name

strings

Synopsis

strings [options] files

Searches object or binary files for sequences of four or more printable characters that end with a newline or null.

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.

-t format

Prepend each line of output with its byte offset. The offset is displayed in octal if format is o, decimal for d, and hex for x. You must specify format; there is no default.

- num

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

Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.