hexdump

hexdump is a program which produces a hexadecimal dump of the supplied files.

Syntax

    hexdump filename [filename[...]]
It produces an output in the following style.
00000000  7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00   ' ELF            '
00000010  02 00 03 00 01 00 00 00 00 85 04 08 34 00 00 00   '            4   '
00000020  b0 0a 00 00 00 00 00 00 34 00 20 00 05 00 28 00   '        4     ( '
00000030  18 00 15 00 06 00 00 00 34 00 00 00 34 80 04 08   '        4   4   '
00000040  34 80 04 08 a0 00 00 00 a0 00 00 00 05 00 00 00   '4               '
00000050  04 00 00 00 03 00 00 00 d4 00 00 00 d4 80 04 08   '                '
00000060  d4 80 04 08 13 00 00 00 13 00 00 00 04 00 00 00   '                '
00000070  01 00 00 00 01 00 00 00 00 00 00 00 00 80 04 08   '                '
00000080  00 80 04 08 73 08 00 00 73 08 00 00 05 00 00 00   '    s   s       '
00000090  00 10 00 00 01 00 00 00 78 08 00 00 78 98 04 08   '        x   x   '
000000a0  78 98 04 08 d4 00 00 00 30 01 00 00 06 00 00 00   'x       0       '
000000b0  00 10 00 00 02 00 00 00 c4 08 00 00 c4 98 04 08   '                '
000000c0  c4 98 04 08 88 00 00 00 88 00 00 00 06 00 00 00   '                '
000000d0  04 00 00 00 2f 6c 69 62 2f 6c 64 2d 6c 69 6e 75   '    /lib/ld-linu'
000000e0  78 2e 73 6f 2e 31 00 00 11 00 00 00 17 00 00 00   'x.so.1          '
000000f0  00 00 00 00 14 00 00 00 0d 00 00 00 12 00 00 00   '                '
00000100  10 00 00 00 00 00 00 00 06 00 00 00 09 00 00 00   '                '
In the character side of the output on the right hand side, all characters outside of the range 0x20 - 0x7e are displayed as a spaces.