Alias in Terminal (macOS)
- Luke Chikkala
- Nov 2, 2018
- 1 min read
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'

Comments