Converting hexadecimal dump to the original file
xxd -r [hexadecimal dump file path]
The hexadecimal dump was saved in a file called “hexdump.txt,” and we used the ‘-r’ option to reverse this process, converting the hex dump back into its original format. The resulting data has been stored in a file named “reversed.txt.”
xxd Command in Linux
xxd is a command-line tool that is primarily used for creating and analyzing hexadecimal dumps from files. It can also be used to reverse the process and convert a hexadecimal dump back into binary form. In this article, let’s uncover the practical applications of the “xxd” command in the Linux ecosystem.
xxd Command in Linux
- What is a ‘hexadecimal dump’?
- Installing xxd on Linux
- Using xxd command:
- Generating hexadecimal dumps
- Converting hexadecimal dump to the original file
- Formatting output of xxd
- Different dump output styles
- Embedding Binary Data in C/C++ Code (xxd -i)