VI as hex editor

if you just need to look into a binary file and are not happy with the ASCII version of it, try vi's hex mode.

open your file in vi and then enter this command to enable the hex edit mode:

:%!xxd

to get back to normal ascii mode use this command:

:%!xxd -r