I used Linux command of the strings - print the printable strings in files

2011-04-18  来源:本站原创  分类:OS  人气:100 

I used Linux command of the strings - print the printable strings in files

This link: http://codingstandards.iteye.com/blog/1006118 (reproduced please indicate the source)

Use Description

Print file to print a string (print the strings of printable characters in files). Used to find strings in a binary file, used in conjunction with grep. strings command output string is at least four consecutive printable characters, this parameter can be modified.

Common mode

Use examples

Example One

[Root @ jfht ~] # strings / usr / bin / uptime
/ Lib/ld-linux.so.2
FK9 {
PTRhp
[^ _]
usage: uptime [-V]
-V display version
libproc-3.2.7.so
__gmon_start__
_Jv_RegisterClasses
display_version
print_uptime
libc.so.6
_IO_stdin_used
stderr
fwrite
__libc_start_main
memset
_3_2_5
GLIBC_2.0
/ Lib/ld-linux.so.2
[Root @ jfht ~] #

Example two

[Root @ jfht ~] # strings / usr / bin / uptime | grep GLIB
GLIBC_2.0
[Root @ jfht ~] #

Example Three

[Root @ jfht ~] # strings-n 3 / usr / bin / uptime
/ Lib/ld-linux.so.2
GNU
FK9 {
% ()
PTRhp
QVh
WVS
t +1
[^ _]
tZ1
usage: uptime [-V]
-V display version
libproc-3.2.7.so
__gmon_start__
_Jv_RegisterClasses
display_version
print_uptime
libc.so.6
_IO_stdin_used
stderr
fwrite
__libc_start_main
memset
_3_2_5
GLIBC_2.0
/ Lib/ld-linux.so.2
[Root @ jfht ~] #

Thinking about the

Information

[1] xiaobei's blog linux strings command usage
http://laiqingtao1984.blog.163.com/blog/static/11363446820101331952670/
[2] misty wind linux strings command Detailed
http://www.huanxiangwu.com/234/linux-strings% E5% 91% BD% E4% BB% A4% E8% AF% A6% E8% A7% A3
[3] Prayer linux command strings
http://www.cppblog.com/prayer/archive/2009/07/22/90836.html

I used to return the total directory Linux command line

相关文章
  • I used Linux command of the strings - print the printable strings in files 2011-04-18

    I used Linux command of the strings - print the printable strings in files This link: http://codingstandards.iteye.com/blog/1006118 (reproduced please indicate the source) Use Description Print file to print a string (print the strings of printable c

  • I used Linux command of the tty - print the standard input file name 2010-11-28

    I used Linux command of the tty - print the standard input file name This link: http://codingstandards.javaeye.com/blog/826759 (reprint, please indicate the source) Use Description tty command is used to print the standard input file name (print the

  • I used the Linux command line List (7.2 update 98) 2011-07-02

    I used the Linux command line List (7.2 update 98) This link: http://codingstandards.iteye.com/blog/786653 (reproduced please indicate the source) Outline Type of command The table lists the I exhausted all my memory sorting out the Linux command, wh

  • Xiang Jie common Linux command line svn command 2010-03-31

    This article describes common Linux command line use svn command, in the hope of help to you. 1, Linux command line checkout files to a local directory svn checkout path (path is the directory on the server) For example: svn checkout svn: / / 192.168

  • I used Linux command of the cat - connection file or standard input and print 2010-11-02

    I used Linux command of the cat - connection file or standard input and print This link: http://codingstandards.javaeye.com/blog/801090 (reprint, please indicate the source) Use Description The purpose is to connect the command cat file or standard i

  • I used the Linux command uname - print system information 2010-11-11

    I used the Linux command uname - print system information This link: http://codingstandards.javaeye.com/blog/809182 (please specify reproduced everywhere) Use Description uname command to print the system information (print system information), inclu

  • I used Linux command of dmesg - See the Power Information / print or control the kernel ring buffer 2010-12-09

    I used Linux command of dmesg - See the Power Information / print or control the kernel ring buffer This link: http://codingstandards.javaeye.com/blog/837486 (reprint, please indicate the source) Use Description dmesg command to print Linux system bo

  • I used Linux command of the echo - display text. Print Information 2010-10-15

    I used Linux command of the echo - display text, print information This link: http://codingstandards.iteye.com/blog/786101 (reproduced please indicate the source) Use Description echo command to print information, is one of the most commonly used com

  • I used Linux command of the cat - the connection file or standard input and print 2010-11-02

    I used Linux command of the cat - the connection file or standard input and print This link: http://codingstandards.iteye.com/blog/801090 (reproduced please indicate the source) Use Description The purpose is to connect the cat command file or standa

  • I used Linux command of the dmesg - see the boot information / print or control the kernel ring buffer 2010-12-09

    I used Linux command of the dmesg - see the boot information / print or control the kernel ring buffer This link: http://codingstandards.iteye.com/blog/837486 (reproduced please indicate the source) Use Description dmesg command prints information ab

  • Linux command to learn --- Strings (Original) 2011-02-20

    Use the strings command in the object file or binary file for printable strings. Grammar strings [-a] [-] [-o] [-t Format] [-n Number] [-Number] [File ...] Description strings command in the object file or binary file for printable strings. String of

  • linux command summary 2010-04-20

    Name: cat Permissions: All users way: cat [-AbeEnstTuv] [- help] [- version] fileName Description: The connection string to the file reached the basic output (screen or add> fileName to another file) Parameters: -N or - number from 1 to begin the lin

  • I used Linux command the apropos 2010-09-30

    I used Linux command the apropos This link: http://codingstandards.javaeye.com/blog/774570 (reprint, please indicate the source) Use Description Because Linux is used in the Shell command line, and sometimes forget the command to perform a specific t

  • [Transfer] linux command word 2010-10-21

    linux command word Transfer from: http://bbs.linuxtone.org/thread-16-1-1.html 1. Delete 0 byte file find-type f-size 0-exec rm-rf {} \; 2. View the process by descending order of memory ps-e-o "% C:% p:% z:% a" | sort-k5-nr 3. Descending order b

  • I used the Linux command line List (update 4.17, 94) 2010-10-17

    I used the Linux command line List This link: http://codingstandards.iteye.com/blog/786653 (reproduced please indicate the source) Outline Type of command The table lists the I exhausted all my memory sorting out the Linux command, which on the exter

  • linux command Daquan (full article) 2011-03-18

    cat cd chmod chown cp cut Name: cat Access: All users use: cat [-AbeEnstTuv] [- help] [- version] fileName Description: The connection string passed to the basic file output (screen or add> fileName to another file) Parameters: -N or - number from 1

  • I used Linux command of the man - display online manual pages 2011-03-22

    I used Linux command of the man - display online manual pages This link: http://codingstandards.iteye.com/blog/971078 (reproduced please indicate the source) Use Description The man command is a commonly used commands, a little if you are familiar wi

  • Linux Command Line tips that every Linux user s... 2012-04-16

    Below is the collection of Linux command line tips which I've found useful for Linux users. To get more information about the command mentioned below just open your terminal and type man <command>. Things a Linux user must learn Learn bash: No need

  • linux command find find files 2010-03-13

    Each of the operating system by thousands of different types of documents composed. Which comes with the file system itself, the user's own documents, as well as share files and so on. Sometimes we often forget that a document on the hard drive which

  • unix / linux command summary 2010-04-25

    UNIX system operation commands one user login and log out before the system administrator must first register for a user name, regardless of where computer users log on to the ITPNET will access the same file system. 1.1 log when the Login prompt app