LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-14-2002, 09:00 AM   #1
manojrkrish
LQ Newbie
 
Registered: Jun 2002
Location: UK
Distribution: Mepis3.3, Slackware
Posts: 15

Rep: Reputation: 0
Angry lsmod command


I'm trying to find out which modules are loaded on my machine. According to the documentation i should run thelsmod command. But I'm not able to find it anywhere. Can someone tell me where I can fine it please?
 
Old 06-14-2002, 09:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
should be a root only applciation stored in /sbin/ if it's not there (which would be very bizarre) then install the modutils package
 
Old 06-15-2002, 02:21 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Under normal circumstances you can just type lsmod at a bash prompt. At least that is what I have always been able to do...
 
Old 06-20-2002, 03:30 AM   #4
manojrkrish
LQ Newbie
 
Registered: Jun 2002
Location: UK
Distribution: Mepis3.3, Slackware
Posts: 15

Original Poster
Rep: Reputation: 0
I did find lsmod and modprobe in /sbin but strangely enough /sbin is not in the system path settings.

 
Old 06-20-2002, 03:34 PM   #5
Glover
LQ Newbie
 
Registered: Jun 2002
Location: Detroit
Distribution: Fedora, Gentoo
Posts: 14

Rep: Reputation: 0
You can also try:
whereis <command> to find commands
and also
locate <file/command> can be useful
 
Old 06-20-2002, 04:45 PM   #6
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
Make sure that you enter:

su -

When you change to your root user. You must include the "-" in order to bring in the root user's environment including $PATH info.
 
  


Reply



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
lsmod segfault? z-vet Yoper 6 12-15-2004 03:40 PM
lsmod show nothing sesteban Linux - Newbie 6 07-20-2004 01:05 PM
How to block lsmod and su so user can't use those command Ninja_212 Slackware 4 04-18-2004 12:13 AM
Why can't I use lsmod rmmod etc JohnSharp Linux - Newbie 4 04-08-2004 10:11 AM
lsmod shoot2kill Linux - General 5 04-29-2002 09:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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