How to Manage Your .bash_profile In macOS

Up until recently, Bash was the default shell used in macOS. If you’re still using an account under Bash, here’s a quick how-to manipulate your .bash_profile file.

Create .bash_profile

To create the bash_profile, proceed with the following steps:

  1. Open the terminal.
  2. Move the home directory using the following command:
    cd ~/
  3. Use the touch command to create the bash_profile as follows:
    touch .bash_profile

Click Here

Tags: bash_profile