Name
rmmod
Synopsis
rmmod [options] modules
System administration command. Unload a module or list of modules from the kernel. This command is successful only if the specified modules are not in use and no other modules are dependent on them.
Options
- -a, --all
Autoclean modules; tag unused modules for future cleanings, and remove any currently tagged modules. Tagged modules remain tagged unless used between cleanings.
- -e, --persist
Save persistent data for specified modules, or for all modules supporting persistence if none are specified. Do not unload modules.
- -h, --help
Print help message then exit.
- -r, --stacks
Recursively remove stacked modules (all modules that use the specified module).
- -s, --syslog
Write messages to syslogd instead of to the terminal.
- -v, --verbose
Verbose mode.
- -V, --version
Print modutils version number and help message, then exit.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access