Here's the situation:
I'm a newbie logged in as root in KDE (I KNOW it's dangerous). When I type
'echo $PATH' I get '/sbin:/usr/sbin:/usr/bin:/usr/X11R6/bin'.
In /etc/profile I found a path statement but it looks like it's part of a
sub-script and it doesn't match this path (it includes games). I added a
'PATH=$PATH:/opt' and an 'export PATH'. I logged out and back in. It made
no difference to my path statement. I tried again with quote marks around
$PATH:/opt. No difference.
I've checked the bash profile and bashrc. I can't find where
'/sbin:/usr/sbin:/usr/bin:/usr/X11R6/bin' comes from. I'm running Mandrake.
Where is the path hidden? I've spent two days trying to find it on my own
following all the nice notes from LinuxNewbie. I yield. Help.
Thanks,
Ric