I just stumbled across this while trying to learn a bit more about using the command line, and thought others might appreciate it. It comes in a printable format so you can stick it up on your wall :)
I just stumbled across this while trying to learn a bit more about using the command line, and thought others might appreciate it. It comes in a printable format so you can stick it up on your wall :)
On a related note, the website cheat.sh is also a great resource. Just
curl
it with the command you want to learn about as the endpoint.For example, if I want to learn about
grep
, just open a terminal andAnd a short and sweet description with examples will be returned.
At that point just use ‘man grep’.
curl cheat.sh/command
is more useful because it just spits out common examples.man
is only useful if you need complete documentation or need to build a complex oneliner.I never remember hot to extract
tar
files. Would you dive into the documentation for that or look up a cheatsheet?My main issue with this is it requires a cheat sheet just to view a cheat sheet.
I added a custom function to my bashrc:
cheat-sheet() { curl cheat.sh/"$1" }
Then you can call
cheat-sheet grep
for example