TestOut Linux Pro Practice Test 2026 - Free Linux Pro Practice Questions and Study Guide

Session length

1 / 20

What command would you use to remove a kernel module called gamport?

modprove gamport

remove-module gamport

rmmod gamport

The command used to remove a kernel module is `rmmod`, followed by the name of the module you wish to remove. In this case, to remove the kernel module called `gamport`, the correct command would be `rmmod gamport`. This command directly interacts with the Linux kernel to remove the specified module from the running system.

Kernel modules are pieces of code that can be loaded into the kernel on demand to extend its functionality. The `rmmod` command specifically unlinks the module from the kernel, effectively unloading it and freeing up any associated resources.

Other options are not correctly designed to perform this operation. For example, `modprobe`, while it deals with kernel modules, is primarily used for adding modules and managing dependencies rather than removing them. `remove-module` and `unload` are not valid commands in standard Linux distributions for removing modules, which confirms why `rmmod gamport` is the correct choice.

Get further explanation with Examzify DeepDiveBeta

unload gamport

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy