
Hi I am a newbie using RH 9 and working with the Red Hat Linux Bible by Christopher Negus. He uses a command 'lsmod' which I think is for listing modules. However my version of RH9 doesn't appear to have this command. IE
[root(a)LinuxBox /]# type lsmod bash: type: lsmod: not found .
Is there another command I could use instead? Cheers Gun Caundle

Hi Gun. I think you'll find it *is* on the system, as it's part of modutils, which is installed by default and rather tricky to remove. It's more likely that you're typing this command as a normal user, and of course, being a system command, it's not supposed to be used by anyone except root. It's in /sbin, which is in root's path, but not a normal users. Type su -, enter root's password, then try again. Good to see you're not running as root though - very good practice which newbies often neglect. :) Regards, Greig. ----- Original Message ----- From: "Gun Caundle" <gun(a)paradise.net.nz> To: "wlug" <wlug(a)list.waikato.ac.nz> Sent: Sunday, February 22, 2004 7:32 AM Subject: [wlug] lsmod command
Hi I am a newbie using RH 9 and working with the Red Hat Linux Bible by Christopher Negus. He uses a command 'lsmod' which I think is for listing modules. However my version of RH9 doesn't appear to have this command. IE
[root(a)LinuxBox /]# type lsmod bash: type: lsmod: not found .
Is there another command I could use instead? Cheers Gun Caundle
_______________________________________________ wlug mailing list wlug(a)list.waikato.ac.nz http://list.waikato.ac.nz/mailman/listinfo/wlug

Gun Caundle wrote:
Hi I am a newbie using RH 9 and working with the Red Hat Linux Bible by Christopher Negus. He uses a command 'lsmod' which I think is for listing modules. However my version of RH9 doesn't appear to have this command. IE
[root(a)LinuxBox /]# type lsmod bash: type: lsmod: not found .
Is there another command I could use instead? Cheers Gun Caundle
lsmod by itself. Or try /sbin/lsmod
participants (3)
-
Bruce Kingsbury
-
Greig McGill
-
Gun Caundle