1. Open Terminal and navigate to the home [~] directory. cd ~ or cd
2. Open .bash_profile nano .bash_profile If there isn’t one already, then the same command will create a new file.
3. Add the following line: alias NewCommand ='OldCommand'

LUKE CHIKKALA
Comments