Execute few Commonly used Commands easily using ‘Terminal for human’

If you’re like me, an average ‘Terminal window’ user in Ubuntu, then you too might agree to the fact that while entering some commonly used commands again and again (such as ‘mkdir’, ‘cd’, ‘sudo’ etc) is a bit of a pain in the as* :). These days, most computers users are touch typists, but if you are not, then the frustration can be even bigger.

So if you are looking for a solution, then you might be interested in this simple tool called ‘Terminal for human’. What it does is simple. It assigns one letter shortcuts to few commonly used built-in commands thus, whenever you want to use a certain command, you no longer have to type the whole command, and can just type its assigned letter shortcut instead.

Most of its shortcuts are based on single letters and they are easy to remember too. For example, you can press the letter ‘c’ for clearing the output on the Terminal and it will executes the ‘clear’ command. Press ‘l’ and it will list the content of the current folder. Press ‘f’ followed by the folder name and it will execute the ‘cd’ command and take you into that folder. If you press ‘b’, then you will be taken backward.

Terminal-for-human-running-on-Ubuntu-12.04

I frequently use the ‘sudo’ command (thanks ‘apt-get’!, LOL), and after installing ‘Terminal for human‘, you can just replace ‘sudo’ with the letter ‘s’ too. These are of course, some of its shortcuts to mention.

If interested, you can install it in Ubuntu 12.04 Precise Pangolin by using the below command. Currently, it does not have packages for other Ubuntu versions.

sudo apt-add-repository ppa:wyderka-t/terminalforhuman

sudo apt-get update

sudo apt-get install terminalforhuman

But before you can use it in the Terminal window in Ubuntu, you have to enable an option manually.

1. For that, open the Terminal window and from its menu go to: ‘Edit’ -> ‘Profile Preferences’.

Accessing-Profile-Preferences-in-Gnome-Terminal

2. Then click the ‘Title and Commands’ tab and put a check mark on the option called ‘Run command as a login shell’ as shown below.

Enabling-Run-command-as-a-login-shell-option-in-Gnome-Terminal-window

Then close the ‘Profile Preferences’ window and the Terminal. Now re-open the Terminal and now you should be able to use the shortcuts that come with ‘Terminal for human’.

It also has this nifty feature that automatically puts your cursor in the middle of the Terminal window, if it is filled with text outputs, so you don’t have to use the ‘clear’ command for clearing things out a bit, before you can enter a new command.

For getting a list of all the available shortcuts please refer to its manual by using the below command.

man terminalforhuman

That’s it.

An RHCE, 'Linux' user with 14+ years of experience. Extreme lover of Linux and FOSS. He is passionate to test every Linux distribution & compare with the previous release to write in-depth articles to help the FOSS community.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Shares
Tweet
Share
Share
Pin