Question on "Terminal"

nemac

Registered
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
 
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.
 
Back
Top