Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

BSD Hexdump (package bsdmainutils on Ubuntu):

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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