sudo nano ~/.bash_profileEnd then add the alias command:
alias shortcutname='command to execute'And then all you do is call the command by its short cut name and it will be executed. Quit and reopen terminal to take effect.
sudo nano ~/.bash_profileEnd then add the alias command:
alias shortcutname='command to execute'And then all you do is call the command by its short cut name and it will be executed. Quit and reopen terminal to take effect.