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       If first and second call formats  both  apply,  the  second  format  is
20       assumed  if the last operand begins with + or (if there are 2 operands)
21       a  digit.   An  OFFSET  operand  means  -j  OFFSET.    LABEL   is   the
22       pseudo-address  at  first  byte  printed, incremented when dump is pro‐
23       gressing.  For OFFSET and LABEL, a 0x or 0X prefix indicates  hexadeci‐
24       mal; suffixes may be . for octal and b for multiply by 512.
25
26       Mandatory  arguments  to  long  options are mandatory for short options
27       too.
28
29       -A, --address-radix=RADIX
30              output format for file offsets; RADIX is one of [doxn], for Dec‐
31              imal, Octal, Hex or None
32
33       -j, --skip-bytes=BYTES
34              skip BYTES input bytes first
35
36       -N, --read-bytes=BYTES
37              limit dump to BYTES input bytes
38
39       -S BYTES, --strings[=BYTES]
40              output  strings  of  at  least BYTES graphic chars; 3 is implied
41              when BYTES is not specified
42
43       -t, --format=TYPE
44              select output format or formats
45
46       -v, --output-duplicates
47              do not use * to mark line suppression
48
49       -w[BYTES], --width[=BYTES]
50              output BYTES bytes per output line; 32 is implied when BYTES  is
51              not specified
52
53       --traditional
54              accept arguments in third form above
55
56       --help display this help and exit
57
58       --version
59              output version information and exit
60
61   Traditional format specifications may be intermixed; they accumulate:
62       -a     same as -t a,  select named characters, ignoring high-order bit
63
64       -b     same as -t o1, select octal bytes
65
66       -c     same as -t c,  select printable characters or backslash escapes
67
68       -d     same as -t u2, select unsigned decimal 2-byte units
69
70       -f     same as -t fF, select floats
71
72       -i     same as -t dI, select decimal ints
73
74       -l     same as -t dL, select decimal longs
75
76       -o     same as -t o2, select octal 2-byte units
77
78       -s     same as -t d2, select decimal 2-byte units
79
80       -x     same as -t x2, select hexadecimal 2-byte units
81
82   TYPE is made up of one or more of these specifications:
83       a      named character, ignoring high-order bit
84
85       c      printable character or backslash escape
86
87       d[SIZE]
88              signed decimal, SIZE bytes per integer
89
90       f[SIZE]
91              floating point, SIZE bytes per integer
92
93       o[SIZE]
94              octal, SIZE bytes per integer
95
96       u[SIZE]
97              unsigned decimal, SIZE bytes per integer
98
99       x[SIZE]
100              hexadecimal, SIZE bytes per integer
101
102       SIZE  is  a  number.   For  TYPE  in  [doux],  SIZE  may  also be C for
103       sizeof(char),  S  for  sizeof(short),  I  for  sizeof(int)  or  L   for
104       sizeof(long).   If  TYPE  is f, SIZE may also be F for sizeof(float), D
105       for sizeof(double) or L for sizeof(long double).
106
107       Adding a z suffix to any type displays printable characters at the  end
108       of each output line.
109
110   BYTES is hex with 0x or 0X prefix, and may have a multiplier suffix:
111       b      512
112
113       KB     1000
114
115       K      1024
116
117       MB     1000*1000
118
119       M      1024*1024
120
121       and so on for G, T, P, E, Z, Y.
122
123       GNU  coreutils  online  help:  <http://www.gnu.org/software/coreutils/>
124       Report od translation bugs to <http://translationproject.org/team/>
125

EXAMPLES

127       od -A x -t x1z -v
128              Display hexdump format output
129
130       od -A o -t oS -w16
131              The default output format used by od
132

AUTHOR

134       Written by Jim Meyering.
135
137       Copyright © 2013 Free Software Foundation, Inc.   License  GPLv3+:  GNU
138       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
139       This  is  free  software:  you  are free to change and redistribute it.
140       There is NO WARRANTY, to the extent permitted by law.
141

SEE ALSO

143       The full documentation for od is maintained as a  Texinfo  manual.   If
144       the  info and od programs are properly installed at your site, the com‐
145       mand
146
147              info coreutils 'od invocation'
148
149       should give you access to the complete manual.
150
151
152
153GNU coreutils 8.22               October 2018                            OD(1)
Impressum