If you’re not familiar with a .bash_profile file, this is a startup file that is read whenever you open a new Terminal window. It’s a special configuration file, and it needs to be placed in your home directory. For instance, on my MacBook Pro, this file is located as
As you can see from my sample file shown below, the .bash_profile file can contain any legal Unix command, including Unix alias definitions, Unix export and PATH statements, and other commands to set up your Bash prompt.
it prints current path value.
this will execute it and add the path
then again check with