strings [ -a ] [ - ] [ -o ] [ -t Format ] [ -n Number ] [ -Number ] [ File ... ]
strings 命令在对象文件或二进制文件中查找可打印的字符串。 字符串是 4 个或更多可打印字符的任意序列,以换行符或空字符结束。 strings 命令对识别随机对象文件很有用。
该命令返回以下退出值:
0 | 表示命令成功运行。 |
>0 | 表示出错。 |
strings strings
strings 命令显示:
@(#)56 1.17 com/cmd/scan/strings.c, cdmscan, bos320 5/7/92 10:21:20 标准输入 strings.cat /usr/mbin/strings Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] %7o %7d %7x %7o %7d
strings -12 strings
strings 命令显示:
1.17 com/cmd/scan/strings.c, cdmscan, bos320 5/7/92 10:21:20 标准输入 /usr/mbin/strings Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...]
strings -t x -n 20 strings
strings 命令显示:
1017 1.17 com/cmd/scan/strings.c, cmdscan, bos320 5/7/92 10:21:20 108c Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] 10d8 Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] 1124 Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] 1170 Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...] 11bc Usage: strings [-a | -] [-o] [-t format] [-n | -#] [file...]
od 命令。