A junior administrator needs to unload an older video kernel module.
Which of the following commands would BEST accomplish this task?
Click on the arrows to vote for the correct answer
A. B. C. D. E.A.
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Kernel_Administration_Guide/sec-Unloading_a_Module.htmlThe correct command to unload a kernel module in Linux is "rmmod". Therefore, the answer is C. rmmod.
Here is a brief explanation of each command:
A. modprobe: This command is used to add a kernel module to the Linux operating system. It loads the specified module and any dependencies it may have.
B. insmod: This command is used to insert a kernel module into the Linux operating system. It does not load any dependencies that the module may have.
C. rmmod: This command is used to remove or unload a kernel module from the Linux operating system. It will also remove any dependencies that are no longer needed.
D. chmod: This command is used to change the permissions of files and directories in Linux.
E. depmod: This command is used to generate a dependency map of the kernel modules on the system. It does not load or unload any modules.
In summary, the correct command for unloading a kernel module is "rmmod", and it is the best choice out of the given options.