Linux Commands Helper
💬 Your AI-powered Linux assistant
insmod Command - Insert a Kernel Module
The insmod command is used to insert a kernel module into the Linux kernel. It loads the specified module file (.ko) directly, without resolving dependencies.
Syntax
insmod [options] module.ko [module options]
Examples
sudo insmod mymodule.ko
Insert the kernel module 'mymodule.ko'.
sudo insmod mymodule.ko param=1
Insert the module with a parameter.
Notes
- Does not resolve module dependencies; use
modprobe
for that. - Requires root privileges.
- Primarily used for testing or manual module loading.