Thursday, August 9, 2007

editing binary file using VI

Not using VI as HEX editor for quite long time. nearly forgot how to do it.

Here are the commands:


vi ~/myBinary.so
[esc]:%!xxd
[esc]:%!xxd -r
[esc]:wq!

1 comment: