Linux command
rmmod 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Remove
sudo rmmod module_name
Example
sudo rmmod --verbose module_name
Example
sudo rmmod --syslog module_name
Force
sudo rmmod --force module_name
说明
rmmod is a simple program to remove a module from the Linux kernel. It removes only the specified module without handling dependent modules.
参数
- -f, --force
- Force removal even if module is in use (dangerous)
- -s, --syslog
- Send errors to syslog instead of stderr
- -v, --verbose
- Print verbose information
- -V, --version
- Display version
- -h, --help
- Display help
FAQ
What is the rmmod command used for?
rmmod is a simple program to remove a module from the Linux kernel. It removes only the specified module without handling dependent modules.
How do I run a basic rmmod example?
Run `sudo rmmod module_name` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -f, --force do in rmmod?
Force removal even if module is in use (dangerous)