How do I find .bash_profile and add to my shell's initialization file? [closed]
I am trying to upgrade ruby using rvm. On the pragmatic site , it says: The important part is to add the following line to the end of your shell's initialization file (.bash_profile): [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" How do I do this? Where is this initialization file? Please help It would be /home/$USER/.bash_profile , but would only be present if you're actually using bash as your shell. Other shells will use a 'dot file' with their name in them instead. You can view them with ls -ad $HOME/.* There are two initialization files .bash_profile & .bashrc, both