bug-bash
[Top][All Lists]
Advanced

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

Re: PATH value doesn't get updated


From: Carl Wenrich
Subject: Re: PATH value doesn't get updated
Date: Mon, 12 May 2008 13:16:55 -0700 (PDT)

Yes. I (1) made the change to .bash_profile, then (2) restarted the machine, 
then (3) logged in again. When I echo $PATH the /opt/lampp/bin is not included.

Bob Proulx <bob@proulx.com> wrote: carlwenrich wrote:
> I put this in my .bash_profile:
> 
> PATH=$PATH:/opt/lampp/bin
> export PATH
> 
> but when I "echo $PATH" it doesn't include the /opt/lampp/bin.

The .bash_profile is sourced by bash when it is invoked as an
interactive login shell.  Therefore you would need to log in after
having made that change in order for bash to read the file and the
effect to be seen.  Did you log in after having made that change?  Was
bash invoked as an interactive login shell so that it would read that
file?

  echo $0
  echo $-

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]