CyberArmy University | Open Source Institute | CyberArmy Intelligence & Security | CyberArmy Services & Projects

unusual (?) bash $PATH in linux...


[Replies] [Reply] [View by Thread] [Help]
[Back To Operating System Issues]

Posted by Ker highwaystar On 2003-01-04 03:22:02

Ker
Ker highwaystar


the $PATH variable in bash (bash-2.05b-6mdk, mandrake 9.0) has a double-slash in the first instance of '/usr/bin' (reads '/usr//bin'), and has an empty entry between the second instance of '/usr/bin' and '/usr/local/bin'. (reads '/usr/bin/::/usr/local/bin').

i've had this pose a problem while compiling/configuring a few programs. now, i can fix this temporarily by manually setting a corrected $PATH; of course, everytime i close then open a new shell, the weird entries return. however, i've looked through the .bash_profile for my login and /etc/profile, and i can't figure out where these bad entries are generated. either i can't see it, or there's something else in the system that's generating this bum $PATH. any insight into this would be greatly appreciated, and go a long way in reducing my dependency on RPMs. :)

peace

-highwaystar


Replies:


Guest:
Subject:
Message:
Signature:
Optional Image Link:
http://

CyberArmy::Forum v0.6
Generated In 0.01648 seconds


About Us | Privacy Policy | Mission Statement | Help