Home » mariadb on ubuntu » UNIX/LINUX Command – strings

UNIX/LINUX Command – strings

NAME

strings—Print the strings of printable characters in files

SYNOPSIS

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

DESCRIPTION

For each file given, GNU strings prints the printable character sequences that are at least four characters long (or the number given with the options below) and are followed by a NUL or newline character. By default, it only prints the strings from the initialized data 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 nontext files.

OPTIONS

The long and short forms of options, shown here as alternatives, are equivalent.

Options Description
-a, –all, – Do not scan only the initialized data section 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 options to strings on the standard output and exit.
-v, –version Print the version number of strings on the standard output and exit.
-n min-len, -min-len, -bytes=min-len Print sequences of characters that are at least min-len characters long, instead of the default 4.
–t o,x,d, –radix=o,x,d Print the offset within the file before each string. The single character argument specifies the radix of the offset—octal, hexadecimal, or decimal.
–target=bfdname Specify an object code format other than your system’s default format. (See objdump(1), for information on listing available formats.)
-o Like –t o.

Related Posts

UNIX/LINUX Command – rsync

UNIX/LINUX Command – rsync

NAME rsync – a fast, versatile, remote (and local) file-copying tool rsync Command SYNOPSIS Local: rsync [OPTION…] SRC… [DEST] Access via remote shell:Pull: rsync [OPTION…] [USER@]HOST:SRC… [DEST]Push: rsync [OPTION…] SRC… [USER@]HOST:DEST Access via rsync...

UNIX/LINUX Command – strip

UNIX/LINUX Command – strip

NAME strip—Discard symbols from object files. SYNOPSIS strip [ -Fbfdname|–target=bfdname ] [ -Ibfdname|–input-target=bfdname ] [ -Obfdname|–output-target=bfdname ] [-Rsectionname|–remove-section=sectionname ] [ -s|–strip-all ] [-S|-g|–strip-debug ][-x|–discard-all...

UNIX/LINUX Command – expand

UNIX/LINUX Command – expand

NAME expand—Convert tabs to spaces SYNOPSIS expand [–tab1[,tab2[,…]]] [–t tab1[,tab2[,…]]] [–i] [—tabs=tab1[,tab2[,…]]] [–initial] [–help] [–version] [file…] DESCRIPTION This manual page documents the GNU version of expand. expand writes the contents of each given...

UNIX/LINUX Command – uuencode

UNIX/LINUX Command – uuencode

NAME uuencode—Encode a binary fileuudecode—Decode a file created by uuencode SYNOPSIS uuencode [-m] [ file ] nameuudecode [-o outfile] [ file ]… DESCRIPTION uuencode and uudecode are used to transmit binary files over transmission mediums that do not support other...

Follow Us

Our Communities

The Ultimate Managed Hosting Platform
Load WordPress Sites in as fast as 37ms!

0 Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

fourteen + eight =

Shares