2. Adding alias to bash

You can create shortcuts to useful commands in the bash using aliases. For example is very common to use ll instead of ls -l to see details about files and directories in a path.

So how to do it? Well that's easy!

sudo nano ~/.bashrc

Here you can add aliases (and actually, if you scroll a bit, around line 90, you should find the ll example ready to be un-commented! )

Adding a new alias

So, if you want to create a new alias, just add:

alias shortcut='bash command'

For example you could add inst to be the shortcut for sudo apt-get install, like this:

alias inst='sudo apt-get install'

Then (after reboot) you could install any package from apt-get just typing inst packagename, easy!