8진수 덤프
od ( Octal dump) 바이너리 파일을 8진수로 덤프한다.
사용예
omegaman@MyUbuntu:~$ od /usr/bin/file | head -5
0000000 042577 043114 000402 000001 000000 000000 000000 000000
0000020 000002 000076 000001 000000 016740 000100 000000 000000
0000040 000100 000000 000000 000000 041520 000000 000000 000000
0000060 000000 000000 000100 000070 000011 000100 000035 000034
0000100 000006 000000 000005 000000 000100 000000 000000 000000
omegaman@MyUbuntu:~$ od -t a /usr/bin/file | head -5
0000000 del E L F stx soh soh nul nul nul nul nul nul nul nul nul
0000020 stx nul > nul soh nul nul nul ` gs @ nul nul nul nul nul
0000040 @ nul nul nul nul nul nul nul P C nul nul nul nul nul nul
0000060 nul nul nul nul @ nul 8 nul ht nul @ nul gs nul fs nul
0000100 ack nul nul nul enq nul nul nul @ nul nul nul nul nul nul nul
omegaman@MyUbuntu:~$ od -t c /usr/bin/file | head -5
0000000 177 E L F 002 001 001 \0 \0 \0 \0 \0 \0 \0 \0 \0
0000020 002 \0 > \0 001 \0 \0 \0 340 035 @ \0 \0 \0 \0 \0
0000040 @ \0 \0 \0 \0 \0 \0 \0 P C \0 \0 \0 \0 \0 \0
0000060 \0 \0 \0 \0 @ \0 8 \0 \t \0 @ \0 035 \0 034 \0
0000100 006 \0 \0 \0 005 \0 \0 \0 @ \0 \0 \0 \0 \0 \0 \0
omegaman@MyUbuntu:~$ od -t x1z -A x /usr/bin/file | head -5
000000 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 >.ELF............<
000010 02 00 3e 00 01 00 00 00 e0 1d 40 00 00 00 00 00 >..>.......@.....<
000020 40 00 00 00 00 00 00 00 50 43 00 00 00 00 00 00 >@.......PC......<
000030 00 00 00 00 40 00 38 00 09 00 40 00 1d 00 1c 00 >....@.8...@.....<
000040 06 00 00 00 05 00 00 00 40 00 00 00 00 00 00 00 >........@.......<
omegaman@MyUbuntu:~$ od -t x1c -A x /usr/bin/file | head -5
000000 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
177 E L F 002 001 001 \0 \0 \0 \0 \0 \0 \0 \0 \0
000010 02 00 3e 00 01 00 00 00 e0 1d 40 00 00 00 00 00
002 \0 > \0 001 \0 \0 \0 340 035 @ \0 \0 \0 \0 \0
000020 40 00 00 00 00 00 00 00 50 43 00 00 00 00 00 00