edit bash_profile using vim code example Example: how to open bash_profile > touch ~/.bash_profile; open ~/.bash_profile