mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
9 lines
231 B
Plaintext
9 lines
231 B
Plaintext
# 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
|
|
|