Setting PATH
I installed mplayer, but when i just typed "mplayer <file>" it went like:
bash: /usr//bin/mplayer: No such file or directory So i ran $ which mplayer /usr/local/bin/mplayer $/usr/local/bin/mplayer and it worked allright. I tried to figure out what to do, but without doing anything it suddenly worked anyway! Why is this? Is there an automatic update? Where i this information stored? (PATH?) By the way: $ echo $PATH /usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin: /usr/games:/bin/:/home/martint/bin What does what does // in /usr//bin: mean? Thanks |
"I tried to figure out what to do, but without doing anything it suddenly worked anyway!
Why is this?" Did you do the different tests as different users? Different users have different PATHs. root,su, and user all have different PATHs. "What does what does // in /usr//bin: mean?" It means that whoever wrote the scripts to set up your PATH made a mistake. The mistake is harmless. ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
>>Did you do the different tests as different users?
Perhaps, but it works for both user and root, so that isn't the problem. >>whoever wrote the scripts to set up your PATH made a mistake I'll might try to track it down. |
All times are GMT -5. The time now is 04:40 PM. |