Linux insmod Command |
-- Learning is not only about technology, but also about dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
Linux Tutorial
- Linux Tutorial
- Linux Introduction
- Linux Installation
- Linux Cloud Server
- Install Linux with WSL
- Linux System Boot Process
- Linux System Directory Structure
- Linux Password Recovery Methods
- Linux Remote Login
- Linux File Basic Attributes
- Linux File and Directory Management
- Linux User and User Group Management
- Linux Disk Management
- Linux vi/vim
- linux yum command
- Linux apt command
Shell Tutorial
- Shell Tutorial
- Shell Variables
- Shell Passing Arguments
- Shell Arrays
- Shell Operators
- Shell echo command
- Shell printf command
- Shell test command
- Shell Process Control
- Shell Functions
- Shell Input/Output Redirection
- Shell File Inclusion
Linux Reference Manual
- Linux Command Manual
- Nginx Installation and Configuration
- MySQL Installation and Configuration
- Linux Quiz
Linux insmod Command
The Linux insmod (short for "install module") command is used to load modules.
Many features in Linux are implemented as modules that are loaded into the kernel only when needed. This helps keep the kernel lean, improving efficiency and maintaining great flexibility. These loadable modules are typically device drivers.
Syntax
insmod [-o <module name>]
Parameter Description:
- -f Force module loading without checking if the current kernel version matches the one used during module compilation.
- -k Set the module to be automatically removable.
- -m Output the module's loading information.
- -o<module name> Specify the name of the module. The filename of the module file can be used.
- -p Test if the module can be correctly loaded into the kernel.
- -s Log all information in the system log file.
- -v Display detailed information during execution.
- -x Do not export the module's external symbols.
- -X Export all external symbols of the module. This is the default.
Examples
Load a module:
# insmod led.o // Load the module into the kernel
YouTip