View Full Version : Question on "Terminal"
nemac
August 29th, 2009, 10:34 AM
I have Linux experience and I am trying to find out what is the name of the file that executes when you start up a "Terminal" session to set your profile. I would like to set several "aliases" automatically whenever I start a terminal session. I know there has to be a way of doing this but I don't have a lot of experience with the Mac to know how to do this on my own. I would appreciate any help you all can give me.
Thanks in advance,
Javier
simbalala
August 29th, 2009, 02:28 PM
I think what you're looking for is ~/.bash_profile
which is the same as...
/Users/yourusername/.bash_profile
Now, this is true for OSX 10.4 which uses bash. I think 10.5 and up may use a different shell, someone will step in and let us know if that's the case.
Regardless of the shell there should be a corresponding “profile” file for the shell in your user directory.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by
vBSEO 3.3.0 RC1