return to first page linux journal archive
keywordscontents

Listing 3. Output of od -t xS -t c `which od`

bash:zackpc->randy 390: od -t xS -t c `which od`
0000000 010b 0064 4000 0000 1000 0000 0000 0000
     \v 001  d \0 \0  @ \0 \0 \0 020 \0 \0 \0 \0 \0 \0
0000020 0000 0000 0000 0000 0000 0000 0000 0000
     0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0002000 97e8 003d b800 002d 0000 00bb 0000 cd00
    350 227  = \0 \0 270  - \0 \0 \0 273 \0 \0 \0 \0 315
0002020 a380 0b5c 6009 448b 0824 34a3 090b 0f60
    200 243  \ \v \t  ` 213  D  $ \b 243  4 \v \t  ` 017
0002040 05b7 4028 0000 e850 3e88 0000 c483 e804
    267 005  (  @ \0 \0  P 350 210  > \0 \0 203 304 004 350
0002060 3ec0 0000 bbe8 002d 5000 91e8 0003 5b60
If you really hate octal, and want to see the offsets in a different base,
od allows that. The option is -A x to see the offsets in
hexadecimal, or -A d to show the offsets in decimal.