cmdxray / commands / modprobe

What does modprobe do?

add or remove modules from the Linux kernel.

▸ Explain your own modprobe command →

modprobe examples, explained

$ modprobe nvidia

  • modprobeadd or remove modules from the Linux kernel
  • nvidiaan argument passed to the command

$ modprobe -r nvidia

  • modprobeadd or remove modules from the Linux kernel
  • -rremove (unload) the module instead of loading it
  • nvidiaan argument passed to the command

$ modprobe -n -v e1000

  • modprobeadd or remove modules from the Linux kernel
  • -ndry run — show actions without applying them
  • -vverbose — print what is being done
  • e1000an argument passed to the command

modprobe flags & options

-rremove (unload) the module instead of loading it
-ainsert all modules named on the command line
-vverbose — print what is being done
-ndry run — show actions without applying them
-fforce load/unload, ignoring version checks
-qquiet — suppress error messages for missing modules
--removeremove (unload) the module
--dry-runshow actions without applying them

Other commands

Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.