Category Archives: vi

As an editor it’s a PITA, but sometimes the only tool you have.

Howto use vi as a hex file viewer

To view file in hex mode in vi use the following commands: :%!xxd and :%!xxd -r to switch it back to normal mode.

Posted in Bash, vi | Leave a comment