mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-16 00:48:36 +01:00
9 lines
231 B
Text
9 lines
231 B
Text
|
# Convert bin/string to hex.
|
||
|
# Result: 34322069732074686520736f6c7574696f6e0a
|
||
|
echo '42 is the solution' | xxd -p
|
||
|
|
||
|
# Convert hex to bin/string.
|
||
|
# Result: 42 is the solution
|
||
|
echo '34322069732074686520736f6c7574696f6e0a' | xxd -r -p
|
||
|
|