Re: Rereading .bash_profile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 25 Oct 2004, Paul Howarth wrote:

> Robert wrote:
> > ...except that constantly logging out and in while testing is a royal PITA.
> >
> > What is the proper way cause .bash_profile to be re-examined?
>
> . ~/.bash_profile

are you *really* sure you want to re-source your .bash_profile?  i ask
since it's possible that there are things in that file that really
shouldn't be rerun.

a classic example is to append some entries to your search path:

  PATH=$PATH:blah:woof:.....

rerunning .bash_profile means that those entries will be appended
*again*.  not fatal, of course, but i think too many people very
cavalierly re-source that file without making sure there are no
adverse consequences.

rday


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux