XXD Commands Cheat Sheet
Here is a cli commands cheat sheet for XXD command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.
What is XXD command?
Add some data here
# To convert bin/string to hex: echo '42 is the solution' | xxd -p # output: 34322069732074686520736f6c7574696f6e0a # To convert hex to bin/string: echo '34322069732074686520736f6c7574696f6e0a' | xxd -r -p # output: 42 is the solution
Check out the XXD command documentation .
You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again