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 :)

https://linuxopsys.com/topics/linux-commands-cheat-sheet

you are viewing a single comment's thread
view the rest of the comments
[–] 35 points 3 years ago (2 children)

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 and

$ curl cheat.sh/grep

And a short and sweet description with examples will be returned.

  • source
  • hideshow 4 child comments
  • [–] 13 points 3 years ago (2 children)

    At that point just use 'man grep'.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 3 years ago*

    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?

  • source
  • parent
  • [–] 1 point 3 years ago

    Cheat.sh has usage examples, with short descriptions. It’s purpose is remembering something you have already done. It’s much more similar to --help flag than full manpage.

    Reading the cheat.sh of a command I don’t know at all is rarely useful. I use it when simply listing the flags isn’t enough, or the output unhelpfully long. curl returns so fast that it’s faster to request data from external server than read through three paragraphs.

    If you haven’t tried it, give it a go. The whole point is to be very quick to type and give back text that is fast to read.

  • source
  • parent