Usage: strings [option(s)] [file(s)]
Display printable strings in [file(s)] (stdin by default)
The options are:
-a - --all Scan the entire file, not just the data section
-f --print-file-name Print the name of the file before each string
-n --bytes=[number] Locate & print any NUL-terminated sequence of at
-
Usage: strings [option(s)] [file(s)]
Display printable strings in [file(s)] (stdin by default)
The options are:
-a - --all Scan the entire file, not just the data section
-f --print-file-name Print the name of the file before each string
-n --bytes=[number] Locate & print any NUL-terminated sequence of at
-
strings(1) GNU Development Tools strings(1) 名前 strings - ファイル中の表示可能な文字列を表示する 書式 strings [-a|-|--all] [-f|--print-file-name] [-o] [--help] [-v|--version] [-n min-len|-min-len|--bytes=min-len] [-t {o,x,d}[--target=bfdname] |--radix={o,x,d}] file 説明 GNU strings は、与えられたそれぞれの file から表示可能なキャラクタの列 を表示する。デフォルトでは 4 文字以上の長さのものを、可能な限り表示する が 、この長さは以下で説明するオプションによって変更可能である。ファイル がオブジェクトファイルの場合のデフォルトでは、初期化・ロードされたセ ク シ ョンからの文字だけを表示する。他のファイルについては、ファイル全体か ら文字列を探し、表示する。 strings は主としてテキストファイル以外のファイル内容を判断するために 用 いられる。 オプション 長 いフォーマットと短いフォーマットが並べて書いてある場合は、それらは等 価である。 -a --all - オブジェクトファイルから初期化・ロードされたセクションのみをスキ ャンするのではなく、ファイル全体をスキャンする。 -f --print-file-name それぞれの文字列の前にファイル名を表示する。 --help strings のオプションの要約を標準出力に表示して終了する。 -v --version strings のバージョン番号を標準出力に表示して終了する。 -n min-len -min-len --bytes=min-len min-len 以上の長さを持つ文字のシーケンスを表示する。デフォルトは 4。 -t {o,x,d} --radix={o,x,d} それぞれの文字列の前にファイル中のオフセットを表示する。引数とし て与えられる一文字で、オフセットの基数を (8, 16, 10) 進数で与え るように指定する。 --target=bfdname オブジェクトコードのフォーマットを、システムのデフォルト以外のも のに指定する。指定できるフォーマットをリストするための方法につい ては objdump(1) を見よ。 -o -t o と同じ。 関連項目 info の ‘ binutils ’ エントリ、 The GNU Binary Utilities, Roland H. Pesch (October 1991)、 ar(1)、 nm(1)、 objdump(1)、 ranlib(1) 著作権 Copyright (c) 1993 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the en- tire resulting derived work is distributed under the terms of a permis- sion notice identical to this one. Permission is granted to copy and distribute translations of this manu- al into another language, under the above conditions for modified ver- sions, except that this permission notice may be included in transla- tions approved by the Free Software Foundation instead of in the origi- nal English. cygnus support 25 June 1993 strings(1)
STRINGS(1) GNU Development Tools STRINGS(1) NAME strings - print the strings of printable characters in files. SYNOPSIS strings [-afovV] [-min-len] [-n min-len] [--bytes=min-len] [-t radix] [--radix=radix] [-e encoding] [--encoding=encoding] [-] [--all] [--print-file-name] [-T bfdname] [--target=bfdname] [--help] [--version] file... DESCRIPTION For each file given, GNU strings prints the printable character sequences that are at least 4 characters long (or the number given with the options below) and are followed by an unprintable character. By default, it only prints the strings from the initialized and loaded sections of object files; for other types of files, it prints the strings from the whole file. strings is mainly useful for determining the contents of non-text files. OPTIONS -a --all - Do not scan only the initialized and loaded sections of object files; scan the whole files. -f --print-file-name Print the name of the file before each string. --help Print a summary of the program usage on the standard output and exit. -min-len -n min-len --bytes=min-len Print sequences of characters that are at least min-len characters long, instead of the default 4. -o Like -t o. Some other versions of strings have -o act like -t d instead. Since we can not be compatible with both ways, we simply chose one. -t radix --radix=radix Print the offset within the file before each string. The single character argument specifies the radix of the offset---o for octal, x for hexadecimal, or d for decimal. -e encoding --encoding=encoding Select the character encoding of the strings that are to be found. Possible values for encoding are: s = single-7-bit-byte characters (ASCII, ISO 8859, etc., default), S = single-8-bit-byte characters, b = 16-bit bigendian, l = 16-bit littleendian, B = 32-bit bigendian, L = 32-bit littleendian. Useful for finding wide character strings. (l and b apply to, for example, Unicode UTF-16/UCS-2 encodings). -T bfdname --target=bfdname Specify an object code format other than your system’s default format. -v -V --version Print the program version number on the standard output and exit. @file Read command-line options from file. The options read are inserted in place of the original @file option. If file does not exist, or cannot be read, then the option will be treated literally, and not removed. Options in file are separated by whitespace. A whitespace character may be included in an option by surrounding the entire option in either single or double quotes. Any character (including a backslash) may be included by prefixing the character to be included with a backslash. The file may itself contain additional @file options; any such options will be processed recursively. SEE ALSO ar(1), nm(1), objdump(1), ranlib(1), readelf(1) and the Info entries for binutils. COPYRIGHT Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". binutils-2.20.51.0.2 2019-02-26 STRINGS(1)
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa