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:
Binary to hexadecimal conversion:
Specifying input and output formats:
Skipping a specific number of bytes:
Limiting the number of bytes to display:
XXD 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