GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HDUMP(1) Schily´s USER COMMANDS HDUMP(1)

hdump, od - displays (dumps) binary contents of a file

hdump [options] [file [starting_address[.][b|B] [count]]]

hdump [options] [file...]

od [options] [file [starting_address[.][b|B]]]

od [options] [file...]

xpg4/bin/od [options] [file [starting_address[.][b|B]]]

xpg4/bin/od [options] [file...]

Hdump displays the contents of a file in 16-bit words unless otherwise specified (see options below). It dumps the data in hexadecimal unless otherwise specified (see options below).

Hdump assumes the starting_address and the count are in decimal unless there is a leading 0--interpreted as octal, or a leading 0x--interpreted as hexadecimal (as in C). If the starting_address is followed by a 'b', the number is multiplied by 512, if the starting_address is followed by a 'B', the number is multiplied by 512.

The output radix of the label is hexadecimal by default and may be modified by the radix of the starting_address. If the starting_address is specified in hexadecimal, the label will be displayed in hexadecimal too, if the starting_address is specified in octal, the label will be displayed in octal. A decimal radix of the label will be displayed if the starting_address is followed by a dot.

If the starting address is odd, it is rounded down to the next even value.

The default size of displayed objects is short unless otherwise mentioned.

For the od(1) features see the od(1) man page.

Select the radix used for address labels. The following values are supported:
Use a decimal radix for address labels.
Use an octal radix for address labels.
Do not print address labels.
Use a hexadecimal radix for address labels.
Display content also as printable characters, set the object size to bytes.
Display content in bytes.
Display content in quoted characters, set the object size to bytes.
Display bytes as single-byte or multi-byte characters according to the current setting of the LC_CTYPE locale category. Printable multibyte characters are written in the area corresponding to the first byte of the character. The two-character sequence ** is written in the area corresponding to each remaining byte in the character, as an indication that the character is continued.
Display content in decimal
Display content longs as floats
Display content double longs as doubles
Seek or skip skip bytes before starting to dump. The same syntax as with sdd(1) is supported.
Display content as longs instead of using the default size short.
Stop after dumping count bytes. The same syntax as with sdd(1) is supported.
Display content in octal instead of using the default hexadecimal radix.
Interprets long words in unsigned octal. This is equivalent to -t o4.
Interprets words in signed decimal. This is equivalent to -t d2.
Interprets long words in signed decimal. This is equivalent to -t d4.
Print bytes as 7 bit named ASCII characters.
Print bytes as quoted characters.
Print signed decimal numbers.
Print floating point numbers
Print octal numbers.
Print unsigned decimal numbers.
Print hexadecimal numbers.

The type specification characters d, f, o, u, and x can be followed by an optional size specifier. For the types d, o, u, and x, this may be one of: 1, 2, 4, 8, C, S, I, and L. For the type f, this may be one of: F, D, and L.

A -t option may have multiple type arguments and there may be multiple -t options on the command line.

Display content as unsigned numbers.
Show all data even if it is identical.
Interprets words in hex. This is equivalent to -t x2.
Interprets long words in hex. This is equivalent to -t x4.
Prints a short summary of the hdump options and exists.
Prints the hdump version number string and exists.

Address label radix depends on starting address radix (decimal if ends with .) 'b' or 'B' after starting address multiplies with 512.

od(1).

None currently known.

Mail bugs and suggestions to schilytools@mlists.in-berlin.de or open a ticket at https://codeberg.org/schilytools/schilytools/issues

The mailing list archive may be found at:


https://mlists.in-berlin.de/mailman/listinfo/schilytools-mlists.in-berlin.de

Joerg Schilling and the schilytools project authors.

The source code for hdump is included in the schilytools project and may be retrieved from the schilytools project at Codeberg at:

https://codeberg.org/schilytools/schilytools/

The download directory is:

https://codeberg.org/schilytools/schilytools/releases

2022/09/07 Joerg Schilling

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.