{
    "mode": "man",
    "parameter": "rmmod",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/rmmod/8/json",
    "generated": "2026-06-09T21:55:21Z",
    "synopsis": "rmmod [-f] [-s] [-v] [modulename]",
    "sections": {
        "NAME": {
            "content": "rmmod - Simple program to remove a module from the Linux Kernel\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "rmmod [-f] [-s] [-v] [modulename]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "rmmod is a trivial program to remove a module (when module unloading support is provided)\nfrom the kernel. Most users will want to use modprobe(8) with the -r option instead.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-v --verbose",
                    "content": "Print messages about what the program is doing. Usually rmmod prints messages only if\nsomething goes wrong.\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "-f --force",
                    "content": "This option can be extremely dangerous: it has no effect unless\nCONFIGMODULEFORCEUNLOAD was set when the kernel was compiled. With this option, you\ncan remove modules which are being used, or which are not designed to be removed, or have\nbeen marked as unsafe (see lsmod(8)).\n",
                    "flag": "-f",
                    "long": "--force"
                },
                {
                    "name": "-s --syslog",
                    "content": "Send errors to syslog instead of standard error.\n",
                    "flag": "-s",
                    "long": "--syslog"
                },
                {
                    "name": "-V --version",
                    "content": "Show version of program and exit.\n",
                    "flag": "-V",
                    "long": "--version"
                }
            ]
        },
        "COPYRIGHT": {
            "content": "This manual page originally Copyright 2002, Rusty Russell, IBM Corporation. Maintained by Jon\nMasters and others.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "modprobe(8), insmod(8), lsmod(8), modinfo(8) depmod(8)\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Jon Masters <jcm@jonmasters.org>\nDeveloper\n\nLucas De Marchi <lucas.de.marchi@gmail.com>\nDeveloper\n\n\n\nkmod                                         04/30/2026                                     RMMOD(8)",
            "subsections": []
        }
    },
    "summary": "rmmod - Simple program to remove a module from the Linux Kernel",
    "flags": [
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "Print messages about what the program is doing. Usually rmmod prints messages only if something goes wrong."
        },
        {
            "flag": "-f",
            "long": "--force",
            "arg": null,
            "description": "This option can be extremely dangerous: it has no effect unless CONFIGMODULEFORCEUNLOAD 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 lsmod(8))."
        },
        {
            "flag": "-s",
            "long": "--syslog",
            "arg": null,
            "description": "Send errors to syslog instead of standard error."
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "Show version of program and exit."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "modprobe",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/modprobe/8/json"
        },
        {
            "name": "insmod",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/insmod/8/json"
        },
        {
            "name": "lsmod",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/lsmod/8/json"
        },
        {
            "name": "modinfo",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/modinfo/8/json"
        },
        {
            "name": "depmod",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/depmod/8/json"
        }
    ]
}