DEV Community

Discussion on: Bash profile shortcuts and terminal customizations

trisha114 profile image
Trisha Aguinaldo Author • Edited on

Hi Edwrd T! After creating my .bash_profile, I usually just use vim to update it (vim .bash_profile). I think vim is the quickest way to edit single files. But here are other ways to edit the file in a mac os:

  1. Open a terminal shell
  2. Change directory to your home folder. cd ~/
  3. Enter the command touch .bash_profile to create a new file.
  4. Edit .bash_profile on your IDE (open .bash_profile) or enter open -e .bash_profile to open it in TextEdit.