7.2.3.3. .bash_profile example
Then bash looks for a .bash_profile in the user's home directory:
debby:~> cat .bash_profile
#################################################################
# #
# .bash_profile file #
# #
# Executed from the bash shell when you log in. #
# #
#################################################################
source ~/.bashrc
source ~/.bash_login
|
This very straight forward file instructs your shell to first
read ~/.bashrc and then ~/.bash_login. You will encounter the source built-in shell command regularly when working
in a shell environment: it is used to apply configuration changes
to the current environment.