no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | vi_as_hex_editor [26.02.2015 17:04] (current) – created Pascal Suter | ||
|---|---|---|---|
| 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 | ||
| + | |||