Possible Duplicate:
How do I find .bash_profile and add to my shell's initialization file?
I can’t find this file: .bash_profile. I am trying to upgrade ruby via rvm and I need to add rvm to every new shell window that opens. But I can’t find .bash_profile anywhere on my system.
It’s a simple shell script, just create it and fill it with the desired content.
man bashdescribes for which (initialization) files Bash looks under what circumstances and in which order it does it for your particular Bash version.