kmod
systemLinux
The kmod command is one of the most frequently used commands in Linux/Unix-like operating systems. kmod Manage Linux kernel modules
Quick Reference
Command Name:
kmod
Category:
system
Platform:
Linux
Basic Usage:
kmod [options] [arguments]
Common Use Cases
Syntax
kmod [options] command [command_options]
Options
Command | Description |
---|---|
list |
List loaded modules or all available modules |
info |
Show information about a module |
load or insert |
Load a module into the kernel |
unload or remove |
Unload a module from the kernel |
static-nodes |
List static device nodes for modules |
config |
Display configuration file directives |
help |
Show help message |
Common Options | Description |
---|---|
-v, --verbose |
Enable verbose output |
-q, --quiet |
Disable messages |
-h, --help |
Display help message |
-V, --version |
Display version information |
-a, --all (for list) |
List all available modules, not just loaded ones |
-p, --params (for list) |
Display module parameters |
-f, --force (for load/unload) |
Force the operation |
Examples
How to Use These Examples
The examples below show common ways to use the kmod
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
# Basic Examples Basic
kmod list