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?
Asked
Active
Viewed 77 times
2
user9517
- 114,104
- 20
- 206
- 289
Willi Ballenthin
- 345
- 1
- 2
- 11
1 Answers
4
BSD Hexdump (package bsdmainutils
on Ubuntu):
hexdump -C -s SKIP -n COUNT FILENAME
Søren Løvborg
- 542
- 4
- 10