
alias yourCommand="YourTerminalCommand"
For example, Ubuntu users can create an alias for the command sudo apt-get install since it is used all the time. To do this, append the following line to ~/.bashrc:alias ins="sudo apt-get install"
Then whenever you want to install an application, just type ins appname instead of sudo apt-get install appname.</p>More...