System and processes

The modprobe command

Loads a kernel module (or unloads it with -r), resolving dependencies.

Syntax

modprobe [-r] <modulo>

Most useful options

-rUnloads the module

Copy-ready examples

$ modprobe btrfsLoad a module

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • It needs sudo to load or unload modules.

Related commands

FAQ

Learn to actually use it

The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.

Start the free course