2

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
  • 114,104
  • 20
  • 206
  • 289
Willi Ballenthin
  • 345
  • 1
  • 2
  • 11

1 Answers1

4

BSD Hexdump (package bsdmainutils on Ubuntu):

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