how to add something to .bash_profile ubuntu code example Example: Add the following lines to your $HOME/.bash_profile touch ~/.bash_profile; open ~/.bash_profile