LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-13-2002, 02:20 PM   #1
winger
Member
 
Registered: Mar 2002
Location: Florida
Distribution: Mandrake 9.1
Posts: 40

Rep: Reputation: 15
I Could Use An Explanation


I am confused. I installed xsane ver. 0.84 (Mandrake). When I go to a terminal as normal user (william) and enter “xsane” the program opens and the license agreement appears. When I login as superuser (root) I get the dialog “bash: command not found “ or something like that. If I exit and log in as “william” xsane will again startup. I tried rebooting but I still get the same result.

I though “root” could do anything any user could do. I really would like to know what is going on.

Winger
 
Old 04-13-2002, 02:26 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
its most likely didnt' install in root's path.. ?? did you check the path of it. might be in your user's home directory.
 
Old 04-13-2002, 10:14 PM   #3
winger
Member
 
Registered: Mar 2002
Location: Florida
Distribution: Mandrake 9.1
Posts: 40

Original Poster
Rep: Reputation: 15
I guess that is the problem as the only executable “xsane” I could find is “/usr/local/bin/xsane” which is in the path for “william” but not “root”

I would appreciate it if you could answer another related question, as I am new to Linux.

Does “echo $PATH” give the complete Path? When I do this as “william” it doesn’t show “/home” or "/home/william” as part of the Path but it seems they must be.

winger
 
Old 04-13-2002, 10:32 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
yes, $PATH will give the path of the current user logged in. by default it usually won't have the users home directory now that i think about it. you can change this by editing the .bashrc or .bash_profile files in the home directory.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Further explanation on symlink munichtexan Linux - Newbie 4 12-01-2005 10:52 AM
Better SUDO explanation maginotjr Slackware 9 07-04-2005 01:59 PM
Explanation of a phenomenon n3tw0rk Linux - Networking 1 11-10-2004 01:21 PM
Kernel Explanation FatLinux Mandriva 4 02-18-2004 06:37 PM
Explanation or some links.. sh0cker Linux - General 2 02-12-2004 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:02 PM.

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