O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

od

Dumps the contents of a file

od [options] [file-list]

The od (octal dump) utility dumps the contents of a file, which is useful for viewing executable (object) files and text files with embedded nonprinting characters.

This utility takes its input from the file you specify on the command line or from standard input.

Arguments

The file-list includes the pathnames of the files that od displays. When you do not specify a file-list, od reads from standard input.

Options

--address-radix=base

-A base Specifies the base used when displaying the offsets shown for positions in the file. By default, offsets are given in octal. The values for base are d (decimal), o (octal), x (hexadecimal), and n (no offsets printed).

--format=type

-t type Determines ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required