Bootstrap FreeKB - Linux Commands - Remove a module using the rmmod command
Linux Commands - Remove a module using the rmmod command

Updated:   |  Linux Commands articles

The following commands can be used to remove a kernel module

The lsmod command can be used to list the modules that are currently loaded into the kernel.

~]# lsmod | sort
arc4         12608  0
ata_generic  12910  0
ata_piix     35038  0
auth_rpcgss  59314  1  nfsd
bcma         51886  0
bluetooth   372944  5  bnep
. . .

 

The rmmod command can be used to remove a module. If no standard error is returned, the rmmod command without the -v or --verbose flag may return no output. I like to include the -v or --verbose flag just so that I get some output.

~]# rmmod bcma --verbose

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 117c73 in the box below so that we can be sure you are a human.