CompTIA Linux+ (XK0-004) — Question 106

A junior administrator needs to unload an older video kernel module.
Which of the following commands would BEST accomplish this task?

Answer options

Correct answer: C

Explanation

The correct command to remove a kernel module is 'rmmod', which specifically unloads modules from the Linux kernel. The 'modprobe' command is used to add or remove modules but is not as direct for unloading. 'insmod' is for inserting a module, 'chmod' changes file permissions, and 'depmod' generates module dependency files, making them unsuitable for unloading a module.