
Term: login shell => the current bash you had typed in account&password to login
-
/etc/profile : Only read by "login shell"
-
/etc/profile.d/*.sh : Auto-load all the *.sh.
-
/etc/locale.conf : Which language to use.
-
/usr/share/bash-completion/completions/* : For keyboard "Tab" functions.
-
~/.bash_profile : Only read by "login shell", execute by order. (Mac OS X use it to replace ~/.bashrc)
-
~/.bash_profile : found then stop next
-
~/.bash_login : found then stop next
-
~/.profile : found then stop next
-
~/.bashrc : Non-login shell
Cold comfort!
http://1308.allorgdownload.org/