Visit Jeremy's Blog.
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-14-2012, 05:43 AM   #1
LQ Newbie
Registered: Oct 2011
Posts: 12

Rep: Reputation: Disabled
sudo: insmod: command not found


i'm trying to load a kernel module and i can't cause the insmod command is not found.

I did:
  1. cd /
  2. cd sbin
  3. "insm" and Press Tab the command "insmod" appears
  4. su LoginUser
  5. password requested - password accepted
  6. sudo insmod
  7. sudo: insmod: command not found

In the sbin folder "insmod" appears, but when i type the command "insmod" i get a command not found

What shall i do in order to fix that?

Thanks, in advabce
Old 01-14-2012, 06:16 AM   #2
LQ Newbie
Registered: Oct 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled

i solved it.

In the 6th step i had typed "sudo insmod" instead of "sudo /sbin/insmod"

Now it's fine,
Old 01-14-2012, 07:33 AM   #3
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,661
Blog Entries: 56

Rep: Reputation: Disabled
You could have used modprobe.
Old 01-14-2012, 07:42 AM   #4
LQ Newbie
Registered: Oct 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled

i didn't know about that command but i'll check it out!


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
sudo cd /root gives 'sudo: cd: command not found'. stf92 Linux - Newbie 4 03-03-2012 10:05 AM
[SOLVED] sudo ... command not found PlatformIndependentBoy Linux - Server 7 08-06-2010 01:44 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-28-2006 12:57 AM
Insmod command not found after installing pctel-0.9.6 under rh8 Bensoft Kill MS Linux - Software 7 11-16-2003 08:38 PM
insmod --> bash:command not found linorg Linux - Newbie 7 11-15-2003 11:05 AM > Forums > Linux Forums > Linux - Newbie

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