LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   modprobe, iwconfig, lsusb and other missing commands (https://www.linuxquestions.org/questions/linux-newbie-8/modprobe-iwconfig-lsusb-and-other-missing-commands-177907/)

dubya 05-04-2004 06:03 PM

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.

Match 05-04-2004 06:14 PM

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

dubya 05-04-2004 09:12 PM

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.

Match 05-04-2004 09:27 PM

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


All times are GMT -5. The time now is 08:24 PM.