strings man page on 4.4BSD

Man page or keyword search:  
man Server   1065 pages
apropos Keyword Search (all sections)
Output format
4.4BSD logo
[printable version]

STRINGS(1)		  BSD General Commands Manual		    STRINGS(1)

     strings — find printable strings in a file

     strings [-afo] [-n number] [file ...]

     Strings displays the sequences of printable characters in each of the
     specified files, or in the standard input, by default.  By default, a
     sequence must be at least four characters in length before being dis‐

     The options are as follows:

     -a	     By default, strings only searches the text and data segments of
	     object files.  The -a option causes strings to search the entire
	     object file.

     -f	     Each string is preceded by the name of the file in which it was

     -n	     Specifies the minimum number of characters in a sequence to be
	     number, instead of four.

     -o	     Each string is preceded by its decimal offset in the file.

     Strings is useful for identifying random binaries, among other things.


     The algorithm for identifying strings is extremely primitive.  In partic‐
     ular, machine code instructions on certain architectures can resemble
     sequences of ASCII bytes, which will fool the algorithm.

     Historic implementations of strings only search the initialized data por‐
     tion of the object file.  This was reasonable as strings were normally
     stored there.  Given new compiler technology which installs strings in
     the text portion of the object file, the default behavior was changed.

     The strings command appeared in 3.0BSD.

3rd Berkeley Distribution	 June 6, 1993	     3rd Berkeley Distribution

List of man pages available for 4.4BSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net