CompTIA Linux+

Category - LINUX

Which of the following is the location where the kernel modules are stored?
  1. /lib/modules/version/drivers
  2. /boot/
  3. /lib/modules/version/kernel/drivers
  4. /usr/modules/version/drivers/kernel
Explanation
Answer - C - The kernel modules are stored in the lib/modules/version/kernel/drivers location.

Key Takeaway: Your kernel modules are stored in /lib/modules/version/kernel/drivers. You can use the modprobe command to add or remove a module from the Linux kernel. Modprobe looks in the module directory /lib/modules/$(uname -r) for all the modules and other files. To view the current modules, type the $ ls -l /lib/modules/$(uname -r) command.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz