May 2017
Beginner
552 pages
28h 47m
English
These are the operations you can perform on aliases:
$ alias new_command='command sequence'
This example creates a shortcut for the apt-get install command:
$ alias install='sudo apt-get install'
Once the alias is defined, we can type install instead of sudo apt-get install.
$ echo 'alias cmd="command seq"' >> ~/.bashrc