The lsmod
command in C Shell is used to display the currently loaded kernel modules in the Linux operating system. It provides a list of all modules that are currently active, along with their dependencies.
The basic syntax of the lsmod
command is as follows:
lsmod [options] [arguments]
While lsmod
does not have many options, here are a couple of commonly used ones:
-h
, --help
: Displays help information about the command.-v
, --version
: Shows the version of the lsmod
command.lsmod
lsmod --help
lsmod --version
lsmod
in combination with other commands like modinfo
to get detailed information about specific modules.lsmod
only shows modules that are currently loaded; it does not list available modules that are not loaded.