LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2003, 08:20 AM   #1
triplem
LQ Newbie
 
Registered: Feb 2002
Location: Northern Ireland
Posts: 14

Rep: Reputation: 0
Bash shell


when i log in as root im get an error saying

bash :- id command not found

any ideas

tia

triplem
 
Old 04-14-2003, 09:01 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
After logging in as root, type "which id", which should show it as /usr/bin/id. Now type "echo $PATH", which should show root's path statement, which should include at least /bin:/sbin:/usr/bin:/usr/sbin AFAIK.

If "which id" didn't show /usr/bin/id, then you're missing the command, else
If "which id" shows /usr/bin/id, but executing it as "id" gives an error, make sure /usr/bin is in your PATH statement, else
if "which id" shows /usr/bin/id, and /usr/bin *is* in your PATH statement, you've got a problem of a different order.
 
  


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
What is Bash shell? xailer Linux - Newbie 4 11-23-2003 10:29 AM
bash shell dawood shaheen Programming 9 08-01-2003 06:07 AM
Bash Shell triplem Linux - Software 4 04-17-2003 06:11 PM
Bash shell problems Regulator Programming 2 03-29-2002 05:53 PM
Help!!!!! Bash Shell???? DarkHorse Linux - Newbie 7 06-04-2001 01:13 PM


All times are GMT -5. The time now is 06:35 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