.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "RMMOD" "8" "2025-03-28" "kmod" "rmmod" .PP .SH NAME .PP rmmod - Simple program to remove a module from the Linux Kernel .PP .SH SYNOPSIS .PP \fBrmmod\fR [\fIOPTIONS\fR] [\fIlist of modulenames\fR] .PP .SH DESCRIPTION .PP \fBrmmod\fR is a trivial program to remove a module or a list of modules from the kernel (when module unloading support is provided).\& Most users will want to use \fBmodprobe\fR(8) with the \fB-r\fR option instead since it removes unused dependent modules as well.\& .PP When a list of modules is provided, the program will process them one at a time.\& If a module is not found, \fBrmmod\fR will immediately exit with an error code.\& Should the module removal fail, the program will log an error AND continue with the next module.\& This behaviour is NOT controlled by the \fB--force\fR option.\& .PP .SH OPTIONS .PP \fB-f\fR, \fB--force\fR .RS 4 This option can be extremely dangerous: it has no effect unless CONFIG_MODULE_FORCE_UNLOAD was set when the kernel was compiled.\& With this option, you can remove modules which are being used, or which are not designed to be removed, or have been marked as unsafe (see \fBlsmod\fR(8)).\& .PP .RE \fB-s\fR, \fB--syslog\fR .RS 4 Send errors to syslog instead of standard error.\& .PP .RE \fB-v\fR, \fB--verbose\fR .RS 4 Print messages about what the program is doing.\& Usually \fBrmmod\fR prints messages only if something goes wrong.\& .PP .RE \fB-V\fR, \fB--version\fR .RS 4 Show version of program and exit.\& .PP .RE \fB-h\fR, \fB--help\fR .RS 4 Print the help message and exit.\& .PP .RE .SH COPYRIGHT .PP This manual page originally Copyright 2002, Rusty Russell, IBM Corporation.\& .PP .SH SEE ALSO .PP \fBmodprobe\fR(8), \fBinsmod\fR(8), \fBlsmod\fR(8), \fBmodinfo\fR(8), \fBdepmod\fR(8) .PP .SH BUGS .PP Please direct any bug reports to kmod'\&s issue tracker at https://github.\&com/kmod-project/kmod/issues/ alongside with version used, steps to reproduce the problem and the expected outcome.\& .PP .SH AUTHORS .PP Numerous contributions have come from the linux-modules mailing list and Github.\& If you have a clone of kmod.\&git itself, the output of \fBgit-shortlog\fR(1) and \fBgit-blame\fR(1) can show you the authors for specific parts of the project.\& .PP \fBLucas De Marchi\fR is the current maintainer of the project.\&