Tuesday, September 13, 2011

What are the initialization files/scripts executed for a particular shell to load?

sh - .profile
bash - .bash_profile (or .profile or .bash_login) & .bashrc
ksh - .profile & ENV(or .kshrc)
csh - .login/.cshrc

No comments :