LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2003, 03:31 PM   #1
martint
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 9.1
Posts: 15

Rep: Reputation: 0
Question 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
 
Old 11-15-2003, 05:15 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"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
 
Old 11-15-2003, 05:27 PM   #3
martint
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
>>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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the path.... joel112 Slackware 5 08-28-2003 02:27 PM
Setting the path Milkman00 Linux - General 2 07-26-2002 09:44 AM
setting PATH tda Linux - Newbie 1 04-29-2002 01:54 PM
Setting up PATH Sonny Linux - Newbie 4 01-28-2002 02:02 PM
PATH SETTING webboss Linux - Newbie 2 03-17-2001 06:29 PM


All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration