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?

link|improve this question

50% accept rate
feedback

1 Answer

up vote 4 down vote accepted

BSD Hexdump (package bsdmainutils on Ubuntu):

hexdump -C -s SKIP -n COUNT FILENAME
link|improve this answer
perfect! thanks! – Willi Ballenthin May 26 '11 at 19:48
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.