Files
oldlinux-files/Minix/2.0.0/wwwman/man1/od.1.html
2024-02-19 00:21:39 -05:00

72 lines
1.5 KiB
HTML

<HTML>
<HEAD>
<TITLE>od(1)</TITLE>
</HEAD>
<BODY>
<H1>od(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
od - octal dump
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>od</STRONG> [<STRONG>-bcdhox</STRONG>] [<EM>file</EM>] [ [<STRONG>+</STRONG>] <EM>offset</EM> [<STRONG>.</STRONG>][<STRONG>b</STRONG>] ]
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-b</STRONG> Dump bytes in octal
<STRONG>-c</STRONG> Dump bytes as ASCII characters
<STRONG>-d</STRONG> Dump words in decimal
<STRONG>-h</STRONG> Print addresses in hex (default is octal)
<STRONG>-o</STRONG> Dump words in octal (default)
<STRONG>-v</STRONG> Verbose (list duplicate lines)
<STRONG>-x</STRONG> Dump words in hex
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>od</STRONG> <STRONG>-ox</STRONG> <STRONG>file</STRONG> # Dump <EM>file</EM> in octal and hex
<STRONG>od</STRONG> <STRONG>-d</STRONG> <STRONG>file</STRONG> <STRONG>+1000</STRONG> # Dump <EM>file</EM> starting at byte 01000
<STRONG>od</STRONG> <STRONG>-c</STRONG> <STRONG>file</STRONG> <STRONG>+10.b</STRONG> # Dump <EM>file</EM> starting at block 10
</PRE>
<H2>DESCRIPTION</H2><PRE>
<EM>Od</EM> dumps a file in one or more formats. If <EM>file</EM> is missing, <EM>stdin</EM> is
dumped. The <EM>offset</EM> argument tells <EM>od</EM> to skip a certain number of bytes
or blocks before starting. The offset is in octal bytes, unless it is
followed by a '.' for decimal or <STRONG>b</STRONG> for blocks or both.
</PRE>
</BODY>
</HTML>