.bashrc and .bash_profile

Zhou, Jingchen jingchen at slac.stanford.edu
Fri Nov 2 18:07:32 UTC 2007


I am new to bash. It looks like there are two initialization files .bashrc and .bash_profile in $HOME which are generated when creating new accounts on Linux. Why there are two? What is each one for? Can I make them as one, e.g. moving things from  .bash_profile to .bashrc, and only use .bashrc?

Thanks,
JC
 




More information about the redhat-sysadmin-list mailing list