bash invokation name sh yes no yes no interactive? interactive? yes --login no no login? yes --login no yes yes --posix login? yes no ${BASH_ENV} ${ENV} yes --noprofile --norc yes ${ENV} yes no no --noprofile no RCFILE no /etc/profile --rcfile /etc/profile also when input from ~/.bashrc RCFILE network connection ~/.profile no ~/.bash_profile ~/.bash_login ? yes yes ~/.bash_profile ~/.bash_login ~/.profile user session ~/.bash_logout