strings.man Wed Nov 20 18:58:07 2013 1

GNU Development Tools STRINGS(1)

GNU Development Tools STRINGS(1)

NNNNAAAAMMMMEEEE strings - print the strings of printable characters in files. The single argument specifies the radix of the offset---oooo for octal, xxxx for , or dddd for SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS decimal. strings [----aaaaffffoooovvvvVVVV] [----_m_i_n-_l_e_n] [----nnnn _m_i_n-_l_e_n] [------bbbbyyyytttteeeessss====_m_i_n-_l_e_n] -eeee _e_n_c_o_d_i_n_g [----tttt _r_a_d_i_x] [------rrrraaaaddddiiiixxxx====_r_a_d_i_x] --eeeennnnccccooooddddiiiinnnngggg====_e_n_c_o_d_i_n_g [----eeee _e_n_c_o_d_i_n_g] [------eeeennnnccccooooddddiiiinnnngggg====_e_n_c_o_d_i_n_g] Select the of the strings that are to [----] [------aaaallllllll] [------pppprrrriiiinnnntttt----ffffiiiilllleeee----nnnnaaaammmmeeee] be found. Possible values for _e_n_c_o_d_i_n_g are: ssss = [----TTTT _b_f_d_n_a_m_e] [------ttttaaaarrrrggggeeeetttt====_b_f_d_n_a_m_e] single-7-bit-byte characters (ASCII, ISO 8859, etc., [------hhhheeeellllpppp] [------vvvveeeerrrrssssiiiioooonnnn] _f_i_l_e... default), SSSS = single-8-bit-byte characters, bbbb = 16-bit bigendian, llll = 16-bit littleendian, BBBB = 32-bit DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN bigendian, LLLL = 32-bit littleendian. Useful for finding For each _f_i_l_e given, GNU ssssttttrrrriiiinnnnggggssss prints the printable wide character strings. (llll and bbbb apply to, for example, character sequences that are at least 4 characters long (or UTF-16/UCS-2 encodings). the number given with the options below) and are followed by an unprintable character. By default, it only prints the -TTTT _b_f_d_n_a_m_e strings from the initialized and loaded sections of object --ttttaaaarrrrggggeeeetttt====_b_f_d_n_a_m_e files; for other types of files, it prints the strings from Specify an object code format other than your system's the whole file. default format.

ssssttttrrrriiiinnnnggggssss is mainly useful for determining the contents of -vvvv non-text files. -VVVV --vvvveeeerrrrssssiiiioooonnnn OOOOPPPPTTTTIIIIOOOONNNNSSSS Print the program version number on the standard output -aaaa and exit. --aaaallllllll - Do not scan only the initialized and loaded sections of @@@@_f_i_l_e object files; scan the whole files. Read command-line options from _f_i_l_e. The options read are inserted in place of the original @_f_i_l_e option. If -ffff _f_i_l_e does not exist, or cannot be read, then the option --pppprrrriiiinnnntttt-ffffiiiilllleeee-nnnnaaaammmmeeee will be treated literally, and not removed. Print the name of the file before each string. Options in _f_i_l_e are separated by whitespace. A --hhhheeeellllpppp whitespace character may be included in an option by Print a summary of the program usage on the standard surrounding the entire option in either single or double output and exit. quotes. Any character (including a ) may be included by prefixing the character to be included with -_m_i_n-_l_e_n a backslash. The _f_i_l_e may itself contain additional -nnnn _m_i_n-_l_e_n @_f_i_l_e options; any such options will be processed --bbbbyyyytttteeeessss====_m_i_n-_l_e_n recursively. Print sequences of characters that are at least _m_i_n-_l_e_n characters long, instead of the default 4. SSSSEEEEEEEE AAAALLLLSSSSOOOO _a_r(1), _n_m(1), _o_b_j_d_u_m_p(1), _r_a_n_l_i_b(1), _r_e_a_d_e_l_f(1) and the Info -oooo Like ----tttt oooo. Some other versions of ssssttttrrrriiiinnnnggggssss have ----oooo act entries for _b_i_n_u_t_i_l_s. like ----tttt dddd instead. Since we can not be compatible with both ways, we simply chose one. CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT Copyright () 1991, 1992, 1993, 1994, 1995, 1996, 1997, -tttt _r_a_d_i_x 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, --rrrraaaaddddiiiixxxx====_r_a_d_i_x 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. Print the offset within the file before each string. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation binutils-2.23 Last change: 2012-10-22 1 strings.man Wed Nov 20 18:58:07 2013 2 binutils-2.23 Last change: 2012-10-22 2

binutils-2.23 Last change: 2012-10-22 3

GNU Development Tools STRINGS(1)

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".