Linux Add or Remove a Linux Kernel Modules / Drivers

To see current modules, type:

$ ls /lib/modules/$(uname -r)

$ ls /lib/modules/$(uname -r)/kernel/drivers/

Add a Module (driver) Called foo

# modprobe foo

# modprobe -v i8k

List all loaded modules

# lsmod

Remove a module called foo

# modprobe -r foo

or

# rmmod foo

 

http://www.cyberciti.biz/faq/add-remove-list-linux-kernel-modules/


 

Annunci