LinuxQuestions.org
Help answer threads with 0 replies.
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 05-04-2004, 07:03 PM   #1
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Rep: Reputation: 30
modprobe, iwconfig, lsusb and other missing commands


Hey,
It seems in don't have some commands that I've been asked to use in other threads to solve a problem such as modprobe, iwconfig and lsusb. There are probably others I don't have either.

When I try to use these, it says that the command is not found even though I do have man pages for them.

I tried using them as both a regular user and as the super user. I tried searching on this subject but all I get are threads that ask people to use these commands.

Any help would be appreciated, thanks.

By the way, I'm using Fedora Core 1.
 
Old 05-04-2004, 07:14 PM   #2
Match
LQ Newbie
 
Registered: Oct 2003
Location: Virginia
Distribution: Debian 3.0
Posts: 19

Rep: Reputation: 0
The location of these utilities may not be in your path. I run Debian, but on my machine, modprobe is located at /sbin/modprobe. Use the find command to locate it on yours.
# find / -name modprobe
Then check your path to see if the folder is included. You should be logged in as root when you check this.
# echo $PATH
 
Old 05-04-2004, 10:12 PM   #3
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Original Poster
Rep: Reputation: 30
Thanks, that helped.

I'm not sure about the second part of your answer though. Is my path a group of folders that are searched for when a command is used? ie. if modprobe is typed, then it checks that group of folders for the command?

And if that's right, how do I add a folder to my path?

Thanks again for your help.
 
Old 05-04-2004, 10:27 PM   #4
Match
LQ Newbie
 
Registered: Oct 2003
Location: Virginia
Distribution: Debian 3.0
Posts: 19

Rep: Reputation: 0
Quote:
Originally posted by dubya
Is my path a group of folders that are searched for when a command is used?
Yes, that's exactly it. To add /home/dubya/bin to your path type the following.
# PATH=$PATH:/home/dubya/bin
(where # is your command prompt) This is only temporary however. In order for the system to remember this, add the following line to ~/.profile
export PATH=$PATH:/home/dubya/bin
 
  


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
iwconfig problems Commands won't work. goldsaturn25 Linux - Wireless Networking 14 10-03-2005 08:29 AM
Automating modprobe commands rosspet Linux - Networking 4 08-06-2005 02:09 PM
lsmod and modprobe commands rock9604 Linux - Newbie 10 05-03-2004 12:35 AM
Missing Commands Titus28 Slackware 3 08-13-2003 06:12 AM
RH 7.3 missing commands beckwith Linux - Software 2 11-15-2002 04:33 AM


All times are GMT -5. The time now is 09:51 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration