terminal mac permanent alias code example
Example 1: mac terminal alias
#In .bash_profile on MAC, not sure if this works for linux
#Terminal Command Aliases
alias e=exit
alias c=clear
alias r=reset
#Software Aliases
alias jn=jupyter-notebook
alias python=python3.7
Example 2: mac alias
#alias for single command
alias python=python3.7
#alias for full path
alias python='/Library/Frameworks/Python.framework/Version/3.7/bin/python3'
#alias for command with options
alias la='ls -la'