Name: Anonymous 2008-03-24 21:55
What's setting my $PATH to /bin:/usr/bin:/usr/bin:/usr/ucb? It happens when I run
and
How would I go about finding the file that changes my $PATH?
Is there any way of finding out what files XTerm executes on startup? xterm(1) doesn't tell me anything about that in the files section. Is it even XTerm?
Google isn't helping (or I am searching completely the wrong things).
xterm, but:me@comp:~$ su me
Password:
Executing ~/.bashrc...
me@comp:~$ echo $PATH
/bin:/usr/binand
su - gives me the correct $PATH:me@comp:~$ su - me
Password:
Executing ~/.bash_profile...
Executing ~/.bashrc...
me@comp:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/pspdev/binHow would I go about finding the file that changes my $PATH?
Is there any way of finding out what files XTerm executes on startup? xterm(1) doesn't tell me anything about that in the files section. Is it even XTerm?
Google isn't helping (or I am searching completely the wrong things).