od [[+]offset[.][Bb]] [file...]

Octal, decimal, hex, ASCII dump


fileFile name


-A <base>Specify the input address base. The argument base may be one of d, o, x or n, which specify decimal, octal, hexadecimal addresses or no address, respectively
-aOutput named characters. Equivalent to -t a
-B, -oOutput octal shorts. Equivalent to -t o2
-bOutput octal bytes. Equivalent to -t o1
-cOutput C-style escaped characters. Equivalent to -t c
-DOutput unsigned decimal ints. Equivalent to -t u4
-dOutput unsigned decimal shorts. Equivalent to -t u2
-e, -FOutput double-precision floating point numbers. Equivalent to -t fD
-fOutput single-precision floating point numbers. Equivalent to -t fF
-H, -XOutput hexadecimal ints. Equivalent to -t x4
-h, -xOutput hexadecimal shorts. Equivalent to -t x2
-I, -L, -lOutput signed decimal longs. Equivalent to -t dL
-iOutput signed decimal ints. Equivalent to -t dI
-j <skip>Skip skip bytes of the combined input before dumping. The number may be followed by one of b, k, m or g which specify the units of the number as blocks (512 bytes), kilobytes, megabytes and gigabytes, respectively
-N <length>Dump at most length bytes of input
-OOutput octal ints. Equivalent to -t o4
-sOutput signed decimal shorts. Equivalent to -t d2
-t <type>Specify the output format. The type argument is a string containing one or more of the following kinds of type specificers: a, c, [d|o|u|x][C|S|I|L|n], or f[F|D|L|n]. See the man page for meanings
-vWrite all input data, instead of replacing lines of duplicate values with a '*'