๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Linux Advanced

What is Linux Kernel Module?

A piece of code that can be loaded into the kernel at runtime to extend functionality without rebooting, such as device drivers and filesystems.

Kernel modules are dynamically loadable extensions that add functionality to the Linux kernel without recompilation or reboot. Common modules include device drivers (for network cards, GPUs, USB devices), filesystem support (NTFS, exFAT), and network protocols. Commands include lsmod (list loaded modules), modprobe (load a module with dependency handling), rmmod (remove a module), and modinfo (show module details). Module parameters can be set at load time or via /etc/modprobe.d/ configuration files. The DKMS (Dynamic Kernel Module Support) framework automatically rebuilds third-party modules when the kernel is updated.

Related Terms

Bash Script
A text file containing a series of shell commands that are executed sequentially by the Bash interpreter.
Inode
A data structure in Unix filesystems that stores metadata about a file, excluding its name and data.
Curl
A versatile command-line tool for transferring data using various network protocols, commonly used for API testing.
Disk Quota
A system for limiting the amount of disk space or number of files that individual users or groups can consume on a filesystem.
Tmux
A terminal multiplexer that allows running multiple terminal sessions within a single window, with detach/reattach capability.
Sysfs (/sys)
A virtual filesystem that exports information about kernel subsystems, hardware devices, and device drivers in a structured hierarchy.
View All Linux Terms โ†’