O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required