Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-20-2003, 06:35 PM   #1
LQ Newbie
Registered: Jan 2003
Location: El dorado Hills CA.
Distribution: redhat 9.0
Posts: 10

Rep: Reputation: 0
command not found

back again ! In an effort to install my modem Ihave found some commands the get the "bash: cmd: command not found " message.
The two that I have found so far are insmod and lspci.
both exist in /sbin and I have tried to run them as both a user and also su'ing to root. I don't get it. thanks for the help in advance.
Old 01-20-2003, 06:39 PM   #2
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
even when you su you still assume the regular users path, so try this: "su - root" then try...

If it still doesn't work then type "echo $PATH" when you are logged in as root and make sure /sbin is in there. if not try "PATH=$PATH:/sbin:/usr/sbin" and add it to ~/.bashrc to make it permanent.
Old 01-20-2003, 09:40 PM   #3
LQ Newbie
Registered: Sep 2002
Distribution: rh7.2&mdk9.0
Posts: 9

Rep: Reputation: 0
You can also run it like that:
Old 01-21-2003, 02:26 PM   #4
LQ Newbie
Registered: Jan 2003
Location: El dorado Hills CA.
Distribution: redhat 9.0
Posts: 10

Original Poster
Rep: Reputation: 0

Thanks to both of you!


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
command not found murshed Linux - Newbie 8 11-22-2007 04:51 AM
bash: <command name> command not found smash Programming 5 03-13-2006 08:48 AM
command not found ginda Linux - General 3 07-16-2005 04:15 PM
Command Not Found But I See It!! dmorrell Linux - Software 8 01-22-2005 01:12 PM
Command not found nfis Linux - Software 9 11-25-2003 11:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:22 AM.

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