.bashrc vs. .bash_profile
dennis at kaarsemaker.net
Fri Jul 15 05:22:04 UTC 2005
On vr, 2005-07-15 at 01:05 -0400, Matthew S-H wrote:
> What is the difference? Under what situations does it read one over
> the other?
.bash_profile is sourced for login shells (where you need to enter a
password) and .bashrc for the rest. So .bash_profile should contain
thing only to be done once per session and .bashrc should contain things
to be done for every terminal you open.
- Linux for human beings: http://www.ubuntulinux.org
- Linux voor normale mensen: http://www.ubuntulinux.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the ubuntu-users