TestOut Linux Pro Practice Test 2025 – Complete Exam Prep Guide

Question: 1 / 400

How can you view all installed modules in Linux?

lsmod

To view all installed modules in Linux, the appropriate command is **lsmod**. This command provides a list of the currently loaded kernel modules along with additional information such as the memory size and any dependencies among the modules. When you execute lsmod, it reads from the /proc/modules file, which contains this detailed information about the modules currently in use by the kernel.

The other options serve different purposes: **modinfo** is used to display detailed information about a specific module, including version and parameters, but it does not list all modules. **modprobe** is a tool for adding or removing modules from the kernel; it does not display installed modules. Lastly, **showmod** is not a recognized command in standard Linux distributions for managing or viewing kernel modules.

Therefore, lsmod is the command that fulfills the requirement of viewing all installed modules in the Linux environment.

Get further explanation with Examzify DeepDiveBeta

modinfo

modprobe

showmod

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy