This shows you the differences between two versions of the page.

Link to this comparison view

vi_as_hex_editor [26.02.2015 17:04] (current)
Pascal Suter created
Line 1: Line 1:
 +====== 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