STRINGS(1,C) AIX Commands Reference STRINGS(1,C)
-------------------------------------------------------------------------------
strings
PURPOSE
Finds the printable strings in an object or other binary file.
SYNTAX
+------+ +------+ +-----------+ +------------+
strings ---| |---| |---| |---| |---|
+- -a -+ +- -o -+ +- -number -+ +--- file ---+
^ |
+--------+
Note: This command does not have MBCS support.
DESCRIPTION
The strings command looks for strings in the specified binary files. It is
useful for identifying random object files. To avoid unpredictable results,
run strings on the same locale where the binary file on which you are running
strings was compiled.
If no file is specified, standard input is read. A string is any sequence of
four or more printable characters ending with a new-line or a null character.
Unless the -a flag is given, strings looks only in the initialized data space
of object files.
FLAGS
-a Specifies that the entire object file is to be searched, rather than
just the initialized data space.
-o Precedes each string with its decimal offset from the beginning of the
file.
-number Specifies the minimum string length. The default is 4.
RELATED INFORMATION
See the following command: "od."
Processed November 8, 1990 STRINGS(1,C) 1