Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

od(1)



strings(1)                     DG/UX R4.11MU05                    strings(1)


NAME
       strings - find the printable strings in an object or other binary
       file

SYNOPSIS
       strings [ -o ] [ -number ] file ...

DESCRIPTION
       Strings looks for ascii strings in a binary file.  A string is any
       sequence of 4 or more printing characters ending with a newline or a
       null.  If the -o option is given, then each string is preceded by its
       offset in the file.  If the -number option is given, the number is
       used as the minimum string length rather than 4.

       Strings is useful for identifying random object files and many other
       things.

EXAMPLES
       $ cat file.c  <NL>

       main()
       {
       printf("hello world\n");
       }

       The cat command lists the contents of file.c.

       $ strings file.o <NL>

       .text
        .data
       @.tdesc
       hello world
       .file
       file.c
       .text
       .data
       .tdesc
       @LC0
       _main
       @Ltb0
       _printf
       @Lte0
       gcc2_compiled.


       This command lists all strings (with 4 or more characters) contained
       in the COFF object file, file.o.


       $ strings file.o <NL>

       hello world
       gcc2_compiled.
       .text
       .data
       .tdesc
       file.c
       .text
       .data
       .tdesc
       @LC0
       main
       @Ltb0
       printf
       @Lte0
       @Lfe1
       .rel
       .symtab
       .strtab


       This command lists all strings (with 4 or more characters) contained
       in the ELF object file, file.o.

DIAGNOSTICS
       Exit code is 0 on successful completion, and >0 if an error occurs.

SEE ALSO
       od(1).


Licensed material--property of copyright holder(s)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026