LinuxQuestions.org
Register a domain and help support LQ
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 11-01-2003, 10:21 AM   #1
linorg
Member
 
Registered: Nov 2003
Location: delhi
Distribution: redhat 8.0 ,fedora
Posts: 32

Rep: Reputation: 15
Question 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
 
Old 11-01-2003, 10:35 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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.
 
Old 11-01-2003, 11:39 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Moved: Not LFS specific and or Distribution specific so its more suitable in Newbie.
 
Old 11-02-2003, 02:28 PM   #4
linorg
Member
 
Registered: Nov 2003
Location: delhi
Distribution: redhat 8.0 ,fedora
Posts: 32

Original Poster
Rep: Reputation: 15
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
 
Old 11-02-2003, 04:45 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
What did you do to make it permenant?
 
Old 11-03-2003, 04:39 PM   #6
linorg
Member
 
Registered: Nov 2003
Location: delhi
Distribution: redhat 8.0 ,fedora
Posts: 32

Original Poster
Rep: Reputation: 15
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
 
Old 11-03-2003, 05:33 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 11-15-2003, 11:05 AM   #8
linorg
Member
 
Registered: Nov 2003
Location: delhi
Distribution: redhat 8.0 ,fedora
Posts: 32

Original Poster
Rep: Reputation: 15
hi there
sorry for the delay
any way
i'm not using gdm
now what
 
  


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
bash: command not found hamish Linux - Newbie 7 02-23-2011 05:28 PM
bash: g++: command not found m_lp_ql_m Linux - Software 8 07-08-2010 02:45 PM
bash: pg: command not found Chomper Programming 2 02-05-2005 03:22 AM
-bash: cp: command not found johnlittlepeap Fedora 2 11-15-2004 09:52 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


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