STRINGS(1) COMMAND REFERENCE STRINGS(1)
NAME
strings - find the printable strings in a file
SYNOPSIS
strings [ -a ] [ -d ] [ -o ] [ -x ] [ -number ] filename...
DESCRIPTION
Strings looks for ASCII strings in a binary file. A string
is any sequence of four or more printing characters ending
with a newline or a null.
Strings is useful for identifying random object files and
many other things.
If the -d, -o, or -x options are given, the strings are
preceded by offsets in decimal, octal, and hex. The order
of the offsets (when combinations of these options are
given) is: octal, decimal, hex.
OPTIONS
-a Search the entire file. Otherwise, strings starts
looking at the location where an object file's header
would end.
-d Each string is preceded by its offset in the file in
decimal.
-o Each string is preceded by its offset in the file in
octal.
-x Each string is preceded by its offset in the file in
hex.
-number
Number is used as the minimum string length rather than
four.
EXAMPLES
The following invocation of this command will print all
ASCII strings in the object file cmd.o:
strings cmd.o
RETURN VALUE
[NO_ERRS] Command completed without error.
[USAGE] Incorrect command line syntax. Execution
terminated.
Printed 10/17/86 1
STRINGS(1) COMMAND REFERENCE STRINGS(1)
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
CAVEATS
Without the -a option, strings assumes it is searching an
object file and skips beyond the header text before
beginning the search.
SEE ALSO
od(1).
Printed 10/17/86 2
%%index%%
na:72,82;
sy:154,247;
de:401,682;
op:1083,645;
ex:1728,200;
rv:1928,227;2299,173;
ca:2472,252;
se:2724,110;
%%index%%000000000141