man(1) Manual page archive


     STRINGS(1)                                             STRINGS(1)

     NAME
          strings - find printable strings in a file

     SYNOPSIS
          strings [ option ... ] [ file ...

     DESCRIPTION
          Strings looks for and prints ASCII strings in files. A
          string is a sequence of printing characters, tabs, or back-
          spaces terminated by a newline or a null character.  In
          object files, strings are normally looked for only in the
          text and data segments.  The options are:

          -t   Look for strings in the text segment of an object file.

          -d   Look for strings in the data segment of an object file.

          -s   Look for symbol strings in the symbol table of an
               object file.

          -a   Look for strings throughout the file.

          -o   Precede each string by its octal offset in the file.

          -number
               Ignore strings less than number characters long
               (excluding newlines).  Default length is 4.

          Strings is useful for identifying random object files and
          many other things.

     SEE ALSO
          gre(1), xd(1)

     BUGS
          Newlines are quietly inserted in very long strings.