bash: where is $PATH set ?
Can anyone tell me where $PATH is set ?
In /etc/profile, it is set to ....
PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/java/java.current
/bin"
However
web@debian:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games
web@debian:~$
So this does not relate to the shell. I checked ~.bashrc and
~/.bash_profile, neither have changed $PATH.
As I understand it, but $PATH has been modified somewhere.
OK I could change path in ~/.bashrc, but does anyone know where $PATH is
set ?
Dave
Reply to: