Archive for the ‘Coding Tips’ Category

While I’ve used many windows-based hex editors over the years, I never needed to do it from a Linux environment before, and so I wanted to see if there was a way to do it with a tool that would be included in most default distros. Some brief searching turned up this method with vi, and it’s too handy to keep to myself:

-bash-3.00$ vi test.bin

:%!xxd -enter hexedit mode-

-make any necessary edits-

:%!xxd -r -exit hexedit mode-

:wq -save and quit-

Read Full Post »

« Newer Posts