Execution sequence for interactive login shell scripts

./etc/profile

if ~/.bash_profile exists then

execute ~/.bash_profile

else if ~/.bash_login exists then

execute ~/.bash_login

else if  ~/.profile exists then

execute ~/.profile

fi

~/.bashrc  is not used in interactive scripts.

 

nJoy 😉

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.