3

I've been using od to display the contents of binary files in various formats. Often times I find myself bouncing between -x (hex output) and -c (ASCII output) at the same offsets, when I'd really like to see them side-by-side, like in a common hex editor. Are there any tools that print this style output, with similar options (skip, count, etc.) as od, to standard out?

user9517
  • 115,471
  • 20
  • 215
  • 297
Willi Ballenthin
  • 365
  • 1
  • 2
  • 11

1 Answers1

5

BSD Hexdump (package bsdmainutils on Ubuntu):

hexdump -C -s SKIP -n COUNT FILENAME
Søren Løvborg
  • 562
  • 4
  • 10