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.

Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.