7.2.13 strings

Display strings of printable characters in files.

Syntax

strings [ -n num ] [ --aio=naio ] [{ -w | --wallet } wallet-location ]
        [ -D | --debug ] filename

Command Options

The options for the strings command are:

  • filename: Specifies the file being processed.

  • -n: Optionally specifies the minimum output string length. The default value is 4.

  • --aio: Optionally specifies the number of async I/Os to use. The default value is 4.

  • -w, --wallet: Optionally specifies the path to the Exascale wallet directory.

  • -D, --debug: Optionally enables debug mode.

Examples

Example 7-14 Display printable strings in an Exascale file

The following example displays printable strings contained in @MYDATA/myfile to standard output.

$ xsh strings @MYDATA/myfile