How to add terminal commands shortcuts

July 17th, 2014 by
To add terminal commands shortcuts edit the .bash_profile file:
sudo nano ~/.bash_profile
End 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.

Post a Comment

You must be logged in to post a comment.

Cached at: 2024-03-28 09:42:38pm