What Does the Modprobe Command Do in Linux?
Contents Modprobe Is a Linux Program Originally Written by Rusty Russell and Used to Add a Loadable Kernel Module to the Linux Kernel or to Remove a Loadable...
modprobe is a Linux program originally written by Rusty Russell and used to add a loadable kernel module to the Linux kernel or to remove a loadable kernel module from the kernel. It is commonly used indirectly: udev relies upon modprobe to load drivers for automatically detected hardware.
What is the modprobe command used for?
Use the modprobe command to add or remove modules on Linux. The command works intelligently and adds any dependent modules automatically. The kernel uses modprobe to request modules. The modprobe command searches through the standard installed module directories to find the necessary drivers.
Must Read
What is modprobe how it works?
modprobe uses the dependency lists and hardware maps generated by depmod to intelligently load or unload modules into the kernel. It performs the actual insertion and removal using the lower-level programs insmod and rmmod, respectively.