Professional Documents
Culture Documents
howtolamp.com/articles/bash-startup-scripts
Bash startup scripts or files are used by the shell program /bin/bash to create a shell
environment. Each script has a specific use and affects the login environment differently.
Every subsequent script executed can override the values assigned by previous scripts.
1) ~/.bashrc
2) /etc/bashrc
3) ~/.bash_profile
4) ~/.bash_login
1/2
Maintained for compatibility with C shell and Tenex C shell startup script, ~/.login.
5) ~/.profile
6) /etc/profile
7) /etc/profile.d/*
2/2