Linux modprobe Command Examples to View, Install, Remove Modules

Thanks to the geek stuff modprobe utility is used to add loadable modules to the Linux kernel. You can also view and remove modules using modprobe command. Linux maintains /lib/modules/$(uname-r) directory for modules and its configuration files (except /etc/modprobe.conf and /etc/modprobe.d). In Linux kernel 2.6, the .ko modules are used instead of .o files since that has additional information that the kernel uses to load the modules. The example in this article are done with using modprobe on Ubuntu. 1. List Available Kernel Modules modprobe -l will display all available modules as shown below. $ modprobe -l | less kernel/arch/x86/kernel/cpu/mcheck/mce-inject.ko… Continue Reading