.bash_profile is a configuration file for Bash shell.

It’s executed only once when logging into user account.

It can be used to:

  • set environment variables
  • run commands that are needed only once at the start of the session