Learn to Program with a Terminal Utility
A Cheat Sheet via the command line.
Cheat.sh is a command line utility based on a concise documentation repository dedicated to learning programming languages from scratch. You have access to Cheat Sheet for 58 programming languages, covering all popular languages and more.
To use it is very simple, you will need to have [curl](https://en.terminalroot.com.br/12-tips-for-you-to-use-commando-curl-as-a-ninja/ installed and then just run the command below:
On the “home page” you already get a quick guide to use. And to use quick help, just rotate:
Well, the use is as intuitive as the home page, but let’s look at examples. Assuming you are studying the Lua programming languages , just run the command:
Before that you need to have the dependencies installed, they are: xsel and rlwrap, use your distro’s package manager (apt, dnf, pacman, …). As I use Gentoo, Portage allows me to search both dependencies on one line and install them:
And then just install them:
GENTOO TIP If you also use Gentoo and are currently compiling some other software, don’t wait for it to finish, Portage doesn’t use locks
.locklike APT that only allow a single instance, you can compile/install several parallel programs.
Of course, this will only be a brief introduction. But to go further, I recommend you get the utility on your system, for this: download and install globally with the commands:
Command Line Use
The output will be similar to this image:
Within the subshell you can search for any content you want to get information, for example, search on
Lua reverse lists:
To exit, just type:
Cool, right ?!
I particularly use this utility a lot and I wanted to share it with you, because I believe that the readers of this blog are very similar to me and are studying several things today! :)
Thanks and see you next time!