LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   commands "init" and "modprobe" not working (https://www.linuxquestions.org/questions/fedora-35/commands-init-and-modprobe-not-working-345791/)

Diagmato 07-22-2005 03:11 PM

commands "init" and "modprobe" not working
 
I have seen numerous tutorials for fedora core involving the commands "init" and others involving "modprobe". These worked on Mandriva, but in fedora core 4, all i get is "init - command not found" (and the same for modprobe).

Is there a way to enable these commands? I dont get why they work for some people but not others (exluding a spelling mistake on the command, but i made sure it was spelt right, typed in correctly, etc.)

What am I doing wrong?

Matir 07-22-2005 09:42 PM

Are you root? :)

rarsa 07-22-2005 11:44 PM

In FC the /sbin folder is not in the path. To run configuration commands (like modprobe, ifconfig, iwconfig , etc) try prefixing them with /sbin/ or /usr/sbin

for example:
Code:

/sbin/init
or
/sbin/modprobe

Another alternative is adding sbin and /usr/sbin to the path.

I like NOT having the configuration commands in the path, those commands are not meant to be used constantly, just while you are configuring your system.


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