
340
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
od
od [options] [files]
od --traditional [file] [[+]offset [[+]label]]
Dump the specified files to standard output. The default is to
dump in octal format, but other formats can be specified. With
multiple files, concatenate them in the specified order. If no files
are specified or file is -, read from standard input. With the second
form, using the --traditional option, only one file can be specified.
Options
For the following options, see the later “Arguments” section for an
explanation of the arguments bytes, size, and type. If no options are
specified, the default is -Ao-td2-w16.
-a Print as named characters. Same as -ta.
-A radix, --address-radix=radix
Specify the radix (base) for the file offsets printed at the begin-
ning of each output line. The possible values are:
d Decimal.
n None; do not print an offset.
o Octal; the default.
x Hexadecimal.
-b Print as octal bytes. Same as -toC.
-c Print as ASCII characters or backslash escapes. Same as -tc.
-d Print as unsigned decimal shorts. Same as -tu2.
-f Print as floating-point. Same as -tfF.
-h Print as hexadecimal shorts. Same as -tx2.
--help
Display a usage message and exit.
-i Print as decimal shorts. Same as -td2.
-j bytes, --skip-bytes=bytes
Skip the specified number of input bytes before starting.
-l Print as ...