Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

adb(1)

OD(1)  —  User’s Manual — Commands

NAME

od − octal dump

SYNOPSIS

od [ −abcdoxDOXw ] [ file ] [ [ + ]offset[ . ][ b ] ]

DESCRIPTION

Od dumps file in one or more formats as selected by the first argument.  If the first argument is missing, −o is default. 

The file argument specifies which file is to be dumped.  If no file argument is specified, the standard input is used. 

The offset argument specifies the offset in the file where dumping is to commence.  This argument is normally interpreted as octal bytes.  If ‘.’ is appended, the offset is interpreted in decimal.  If ‘b’ is appended, the offset is interpreted in blocks of 512 bytes.  If the file argument is omitted, the offset argument must be preceded by a ‘+’. 

Dumping continues until end-of-file. 

OPTIONS

b Interpret bytes in octal. 

c Interpret bytes in ASCII.  Certain non-graphic characters appear as C escapes: null=\0, backspace=\b, formfeed=\f, newline=\n, return=\r, tab=\t; others appear as 3-digit octal numbers. 

d Interpret shorts (16 bit words) in decimal. 

o Interpret shorts (16 bit words) in octal. 

w Produce wide (132 column) output. 

x Interpret shorts (16 bit words) in hex. 

D Interpret longs (32 bit words) in decimal. 

O Interpret longs (32 bit words) in octal. 

X Interpret longs (32 bit words) in hex. 

SEE ALSO

adb(1)

Sun System Release 0.3  —  1 April 1981

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