Display info about currently running kernel
uname uname -r -info about release uname -m -architecture (64-bit) uname -n -pc name uname -a -all info
Display modules loaded in the system
lsmod
Display info about specified module
modinfo floppy
Util that is used to load and unload kernel modules
modprobe remove floppy module: modprobe -r floppy add floppy module back and its dependent modules if necessary: modprobe floppy
Legacy: remove module
rmmod floppy
Legacy: insert module
insmod /lib/modules/$(uname -r)/kernel/drivers/block/floppy.ko.xz
List kernel modules dir for currently running kernel
ls /lib/modules/$(uname -r)/
Prevent specified kernel modules from loading
create a file with. conf ext in dir /etc/modprobe.d/ add blacklist word in this file + module to be prevented from loading vim floppy-bl.conf blacklist floppy
Generate a list of kernel dependencies
depmod