This website uses cookies. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent.

Author:Malara Kajilkree
Language:English (Spanish)
Published (Last):14 April 2004
PDF File Size:18.39 Mb
ePub File Size:11.85 Mb
Price:Free* [*Free Regsitration Required]

Become an author Introduction Cheat is a command line based Python program that allows system administrators to view and store helpful cheat sheets. It retrieves plain-text examples of a chosen command in order to remind the user of options, arguments, or common uses.

Base sheets for common programs are provided but you can add custom new sheets, too. Prerequisites To follow this tutorial, you will need: One Ubuntu Installing Cheat is best done with the Python package manager Pip, so install Pip next. Finally, install Cheat. We can confirm that Cheat is installed and working by running it with its -v option. For more information on shell and environment variables, you can read the How To Read and Set Environmental and Shell Variables tutorial.

However, you can use vim, emacs, or your favorite text editor instead. This is one of several files that are run at the start of a bash shell session. If you like this feature, you can make it persistent and permanent across shell sessions by adding the export command to your. Open the. Save and close the file.

Change to this directory. If you type cheat followed by a space, pressing the TAB key twice will give you a list of commands. Step 4 — Running Cheat To run Cheat in its most basic form, you call it like any other command, followed by an existing cheat sheet name. Here is an example of how to do this with one of the default sheets that comes included with Cheat, for the tail command which outputs the last few lines of a file.

Step 5 — Creating and Editing Cheat Sheets Although the base provisional sheets included with Cheat are useful and varied, they are not all inclusive of every shell command or program available to us. The real benefit we can get from Cheat comes with adding our own custom sheets. First, invoke Cheat on the command line again, this time followed by -e and the name of the sheet we are making it for. Add a useful ping command example to the beginning of this new sheet, complete with a comment indicated by that explains what the command does when entered.

This will pick up any and all occurrences of the text you provide it with. All packets using this route will be gatewayed through "mango-gw". The device which will actually be used for that route depends on how we can reach "mango-gw" - the static route to "mango-gw" will have to be set up before.

Additionally, version control system such as Git with GitHub are ideal for storing your custom cheat sheets centrally, so you can get hold of them on multiple platforms via cloning a repository. A sheet is classed as custom if have you added to it, amended it, or created it yourself through Cheat. You can find this location by running cheat -d, which will output two directories: the first is the location of your custom sheets, and the second is the location of the default sheets you get with Cheat upon install.

To access your library of custom sheets on other systems, you need only to copy this. The cheat sheets are small plain-text files so this makes them perfect for tracking with version control.


Cheat sheet Ubuntu (14.04+) terminal commands

Keyboard shortcuts help improve productivity by making repetitive tasks easier to perform So in this post we focus solely on a set of Ubuntu keyboard shortcuts you might not know about, as well as those that you might, but always forget to use! Many of the included shortcuts make use of the Super key. What is the Super key in Ubuntu? Instant command line access. Press the same shortcut again to instantly restore those hidden windows back to where they were! But what if you only want to screen grab a specific section of your screen? Release your mouse button to take the partial screenshot.


Subscribe to RSS



14 Essential Ubuntu Keyboard Shortcuts (Plus Cheat Sheet!)




Related Articles