Friday, February 24, 2012

How to create Terminal aliases in Mac OS X Lion

How to make Mac OS X Terminal Aliases
#first create a file called .bash_profile in your home directory
touch ~/.bash_profile
#then add your aliases with the following
nano ~/.bash_profile
open -a TextEdit ~/.bash_profile
# add things like this
alias text="open -a TextEdit"
alias dt="cd ~/Desktop"

No comments:

Post a Comment