vi and vim as a hex viewer. Instead of having separate tool for different task I prefer one tool for all.
Vi and Vim editor offers viewing file in hex mode. Here is how to switch between hex and normal editing mode in vim.
Switching to hex mode – Open a file in vim, hit escape and type:
:%!xxd
To exit out of hex mode
:%!xxd -r




