icon Top 9 categories map      RocketAware >


Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.

The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Search all pages


By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Integer, Floating point, Matrix, Statistics, Boolean, ...

Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...


RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD RedHat Solaris Others

[IEEE Std1003.2-1992 (``POSIX.2'')]

STRINGS(1)                 OpenBSD Reference Manual                 STRINGS(1)

     strings - find printable strings in a file

     strings [-afo] [-n number] [-t radix] [file ...]

     strings displays the sequences of printable characters in each of the
     specified files, or in the standard input, by default.  By default, a se-
     quence must be at least four characters in length before being displayed.

     The options are as follows:

     -a      By default, strings only searches the text and data segments of
             object files.  The -a option causes strings to search the entire
             object file.

     -f      Each string is preceded by the name of the file in which it was

     -n number
             Specifies the minimum number of characters in a sequence to be
             number, instead of four.

     -o      Each string is preceded by its octal offset in the file.

     -t radix
             Each string is preceded by its offset in the file.  The first
             character of radix determines the radix of the offset: `o' for
             octal; `d' for decimal; or `x' for hexadecimal.

     strings is useful for identifying random binaries, among other things.

     hexdump(1),  od(1)

     The algorithm for identifying strings is extremely primitive.  In partic-
     ular, machine code instructions on certain architectures can resemble se-
     quences of ASCII bytes, which will fool the algorithm.

     Historic implementations of strings only search the initialized data por-
     tion of the object file.  This was reasonable as strings were normally
     stored there.  Given new compiler technology which installs strings in
     the text portion of the object file, the default behavior was changed.

     The strings utility conforms to IEEE Std1003.2-1992 (``POSIX.2'').

     The strings utility appeared in 3.0BSD.

OpenBSD 2.6                      June 6, 1993                                1

Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.

(Corrections, notes, and links courtesy of RocketAware.com)

[Detailed Topics]
FreeBSD Sources for strings(1)
FreeBSD Sources for strings(1)
OpenBSD sources for strings(1)

[Overview Topics]

Up to: Text File Output - Methods of printing and displaying text files.
Up to: File Viewers - Viewing the contents of files in various forms.
Up to: File filtering and processing - Methods of filtering and processing files. (character translation, comparison, search, sort, word counts, etc.)
Up to: Object File Utilities - Object (already compiled) file utilities, libraries

RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD RedHat Solaris Others

[IEEE Std1003.2-1992 (``POSIX.2'')]

Rapid-Links: Search | About | Comments | Submit Path: RocketAware > strings.1/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments