.bashrc vs. .bash_profile
Russell Cook
bike_oz at yahoo.com.au
Fri Jul 15 06:40:06 UTC 2005
On Fri, 2005-07-15 at 07:22 +0200, Dennis Kaarsemaker wrote:
> 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.
Hi Dennis,
that makes sense, but for noobies, how do we tell what needs to be run
for ever terminal. For instance the path extension statement I was
looking at. Is the path global for that login, or only that shell?
Kind Regards Russell
==================
www.windsorcycles.com.au
bikes.no-ip.info
Linux user #369094
==================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050715/7f6b335e/attachment.html>
More information about the ubuntu-users
mailing list