Linux xxd Command Tutorial for Beginners (with Examples)
Need a hex dump for a text file? Looking for a command line utility that can do this? Well, you are in luck, as there exists a command dubbed xxd that can do this for you.
Source: Howtoforge Linux Howtos und Tutorials