1OD(1)                            User Commands                           OD(1)
2
3
4

NAME

6       od - dump files in octal and other formats
7

SYNOPSIS

9       od [OPTION]... [FILE]...
10       od [-abcdfilosx]... [FILE] [[+]OFFSET[.][b]]
11       od --traditional [OPTION]... [FILE] [[+]OFFSET[.][b] [+][LABEL][.][b]]
12

DESCRIPTION

14       Write an unambiguous representation, octal bytes by default, of FILE to
15       standard output.  With more than one FILE argument, concatenate them in
16       the  listed  order to form the input.  With no FILE, or when FILE is -,
17       read standard input.
18
19       All arguments to long options are mandatory for short options.
20
21       -A, --address-radix=RADIX
22              decide how file offsets are printed
23
24       -j, --skip-bytes=BYTES
25              skip BYTES input bytes first
26
27       -N, --read-bytes=BYTES
28              limit dump to BYTES input bytes
29
30       -S, --strings[=BYTES]
31              output strings of at least BYTES graphic chars
32
33       -t, --format=TYPE
34              select output format or formats
35
36       -v, --output-duplicates
37              do not use * to mark line suppression
38
39       -w, --width[=BYTES]
40              output BYTES bytes per output line
41
42       --traditional
43              accept arguments in traditional form
44
45       --help display this help and exit
46
47       --version
48              output version information and exit
49
50   Traditional format specifications may be intermixed; they accumulate:
51       -a     same as -t a,  select named characters, ignoring high-order bit
52
53       -b     same as -t o1, select octal bytes
54
55       -c     same as -t c,  select ASCII characters or backslash escapes
56
57       -d     same as -t u2, select unsigned decimal 2-byte units
58
59       -f     same as -t fF, select floats
60
61       -i     same as -t dI, select decimal ints
62
63       -l     same as -t dL, select decimal longs
64
65       -o     same as -t o2, select octal 2-byte units
66
67       -s     same as -t d2, select decimal 2-byte units
68
69       -x     same as -t x2, select hexadecimal 2-byte units
70
71       If first and second call formats  both  apply,  the  second  format  is
72       assumed  if the last operand begins with + or (if there are 2 operands)
73       a  digit.   An  OFFSET  operand  means  -j  OFFSET.    LABEL   is   the
74       pseudo-address  at  first  byte  printed, incremented when dump is pro‐
75       gressing.  For OFFSET and LABEL, a 0x or 0X prefix indicates  hexadeci‐
76       mal; suffixes may be . for octal and b for multiply by 512.
77
78       TYPE is made up of one or more of these specifications:
79
80       a      named character, ignoring high-order bit
81
82       c      ASCII character or backslash escape
83
84       d[SIZE]
85              signed decimal, SIZE bytes per integer
86
87       f[SIZE]
88              floating point, SIZE bytes per integer
89
90       o[SIZE]
91              octal, SIZE bytes per integer
92
93       u[SIZE]
94              unsigned decimal, SIZE bytes per integer
95
96       x[SIZE]
97              hexadecimal, SIZE bytes per integer
98
99       SIZE  is  a  number.   For  TYPE  in  doux,  SIZE  may  also  be  C for
100       sizeof(char),  S  for  sizeof(short),  I  for  sizeof(int)  or  L   for
101       sizeof(long).   If  TYPE  is f, SIZE may also be F for sizeof(float), D
102       for sizeof(double) or L for sizeof(long double).
103
104       RADIX is d for decimal, o for octal, x for hexadecimal or n  for  none.
105       BYTES is hexadecimal with 0x or 0X prefix, it is multiplied by 512 with
106       b suffix, by 1024 with k and by 1048576 with m.  Adding a z  suffix  to
107       any type adds a display of printable characters to the end of each line
108       of output.  --string without a number implies  3.   --width  without  a
109       number implies 32.  By default, od uses -A o -t d2 -w16.
110

AUTHOR

112       Written by Jim Meyering.
113

REPORTING BUGS

115       Report bugs to <bug-coreutils@gnu.org>.
116
118       Copyright © 2007 Free Software Foundation, Inc.
119       This  is  free  software.   You may redistribute copies of it under the
120       terms      of      the      GNU      General       Public       License
121       <http://www.gnu.org/licenses/gpl.html>.   There  is NO WARRANTY, to the
122       extent permitted by law.
123

SEE ALSO

125       The full documentation for od is maintained as a  Texinfo  manual.   If
126       the  info and od programs are properly installed at your site, the com‐
127       mand
128
129              info od
130
131       should give you access to the complete manual.
132
133
134
135GNU coreutils 6.9                 March 2008                             OD(1)
Impressum