LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   insmod --> bash:command not found (https://www.linuxquestions.org/questions/linux-newbie-8/insmod-bash-command-not-found-111101/)

linorg 11-01-2003 09:21 AM

insmod --> bash:command not found
 
hi
everybody
i have just started learning kernel module programming

i wrote my hello world kernel module
now after compiling i'm not able to run the module

i used insmod ./hello-1.o
console says
bash:command not found
when i searched for insmod
insmod file was in /sbin

plz help:newbie:

david_ross 11-01-2003 09:35 AM

Welcome to LQ.

You will need to be root and have /sbin in your path - use "su -", enter your root password then run insmod again.

trickykid 11-01-2003 10:39 AM

Moved: Not LFS specific and or Distribution specific so its more suitable in Newbie.

linorg 11-02-2003 01:28 PM

thanks david the thing worked..
now just to experiment with twm interface i switched to it in root (permanently)
do u know how i can switch back to gnome..
twm has no gui
plz help

david_ross 11-02-2003 03:45 PM

What did you do to make it permenant?

linorg 11-03-2003 03:39 PM

i had used the gnome desktop switching tool
and i didn't tick the checkbox that said:"change only applies to current diplay"
so the thing got changed permanently

Tinkster 11-03-2003 04:33 PM

You said you were using gnome ...
are you using gdm as well? If this
were the case helping yourself is
easy. In the gdm login screen there's
a session selection menu. Just re-select
Gnome, and you should be fine :)

Cheers,
Tink

linorg 11-15-2003 10:05 AM

hi there
sorry for the delay
any way
i'm not using gdm
now what


All times are GMT -5. The time now is 10:48 PM.