XXD
its used for converting binary data into a hex representation and vice versa. The xxd tool is primarily used for examining binary files, creating binary patches, and manipulating binary data.
Basic Usage
Hexadecimal to binary conversion:
xxd -r hexdump.txt binary_output.binBinary to hexadecimal conversion:
xxd binary_input.bin hexdump.txtSpecifying input and output formats:
xxd -g 4 binary_input.bin hexdump.txtSkipping a specific number of bytes:
xxd -s 16 binary_input.bin hexdump.txtLimiting the number of bytes to display:
xxd -l 64 binary_input.bin hexdump.txtXXD provides several other options for controlling the format and output, such as:
-c(or--cols) to specify the number of bytes per line-e(or--endian) to set the endianness-v(or--version) to display the version information
How to extract files using XXD


Last updated