mirror of
https://github.com/cheat/cheat.git
synced 2025-12-14 11:12:06 +01:00
[CHANGE & ADD] Removing typo from SSH. Adding tip for emacs and ssh. Adding cheat for xxd
This commit is contained in:
8
cheat/cheatsheets/xxd
Normal file
8
cheat/cheatsheets/xxd
Normal file
@@ -0,0 +1,8 @@
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user