hex dump tool xxd
It is rather conveinent to use UltraEditor
to edit bytecode file of Java or other binary files, but it is rather hard to achieve it in Linux on a glance, now here comes an evangel — xxd
.
1 |
|
Thus to dump the hex of a file, just usexxd filename
This command also could be invoked in VIM
enable it to be a hex editor:
- First open a file in binary mode with
vim -b filename
, or there will have a0x0a
append. - in command mode type
%!xxd
to dump the whole file into HEX, the same as xxd command in shell.
hex dump tool xxd
https://rug.al/2014/2014-05-07-hex-dump-tool-xxd/