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: Bob Proulx
Subject: Re: PATH value doesn't get updated
Date: Mon, 12 May 2008 14:12:10 -0600
User-agent: Mutt/1.5.13 (2006-08-11)

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]