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. [P_ERR] A system error occurred. Execution terminated. See intro(2) for more information on system errors. Printed 4/6/89 1
STRINGS(1) COMMAND REFERENCE STRINGS(1) 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 4/6/89 2
%%index%% na:312,98; sy:410,343; de:753,814; op:1567,718; ex:2285,229; rv:2514,444; ca:3342,316; se:3658,142; %%index%%000000000133