Your Question: How Do You Stop a Linux Module?
Contents

How do you stop a module in Linux?

You can remove a module from the running kernel with the sudo modprobe -r <module_name> command. You will get a warning if it’s being used and the module will not be unloaded.

How do you stop a module from loading?

[ step1 ] First we unload the module from the running system if it is loaded. [ step2 ] To prevent a module from being loaded directly you add the blacklist line to a configuration file specific to the system configuration — for example /etc/modprobe.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest