Comments on 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.

2 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Rick Stanley

There are very good alternitives to xxd. I am using Debian Testing version.

I prefer to use "hexdump" from the bsdmainutils package, and "hexedit" from the hexedit package.  The format works better for me.

Examine all and make your own choices.

By: amin

for users to connect to our mtproxy, we should generate a secret. so I use the following command, but putty shows an error which says  "xxd command not found":

# head -c 16 /dev/urandom | xxd -ps