Hi, this is Sandra Henry-Stocker, author of the “Unix as a Second Language” blog on NetworkWorld.
In this Linux tip, we’re going to look at the cheat command. It provides what have come to be called "cheat sheets" on a huge assortment of Linux commands. Once installed, all you have to do is type "cheat" followed by the name of the command for which you want to see sample commands. For example, to learn about cheat itself, type "cheat cheat" and you should see a listing of cheat command options and explanations:
This shows that you can run command like"cheat chmod", list the cheat sheets available to you, display the version of cheat that you are using, search the cheat sheets and even edit the sheets (provided you have root or sudo access).
For example, to see the cheat sheet for the chmod command, you should do this:
To list the cheat sheets installed with cheat, you can run this command:
That’s your Linux tip for the cheat command.
If you have questions or would like to suggest a topic, please add a comment below. And don’t forget to subscribe to the IDG Tech(talk) channel on YouTube.
If you liked this video, please hit the like and share buttons. For more Linux tips, be sure to follow us on Facebook, YouTube and NetworkWorld.com.