xxd
Make a
hexdump
(hexadecimal data) or do the reverse.
—man xxd
xxd -l 32 -p <filename>
- prints first 32 bytes of file in hex format.
TODO: add vim note, how to change few bytes (:h hex-editing
).
For example zero the 8th bit in KOI8-R file.