home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: nroff Chapter 2
UNIX Commands
Next: Reference: openwin
 

od



od

 [

options

] [

file

] [[

+

] 

offset

[

.

 | 

b

]]

Octal dump; produce a dump (normally octal) of the named file . file is displayed from its beginning, unless you specify an offset (normally in octal bytes). In the descriptions below, a "word" is a 16-bit unit.

Options

-b

Display bytes as octal.

-c

Display bytes as ASCII.

-d

Display words as unsigned decimal.

-D

Display 32-bit words as unsigned decimal.

-f

Display 32-bit words as floating point.

-F

Display 64-bit words as extended precision.

-o

Display words as unsigned octal (the default).

-O

Display 32-bit words as unsigned octal.

-s

Display words as signed decimal.

-S

Display 32-bit words as signed decimal.

-v

Verbose; show all data. Duplicate lines print as *.

-x

Display words as hexadecimal.

-X

Display 32-bit words as hexadecimal.

+

Required before offset if file isn't specified.

Modifiers for offset

.

offset value is decimal.

b

offset value is 512-byte blocks.


Previous: Reference: nroff UNIX in a Nutshell: System V Edition Next: Reference: openwin
Reference: nroff Book Index Reference: openwin

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System










??????????????@Mail.ru