terminal vi .bash_profile mac code example Example: how to open bash_profile > touch ~/.bash_profile; open ~/.bash_profile