Which command displays the currently loaded modules in Linux?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

The command used to display the currently loaded modules in Linux is indeed 'lsmod'. This command lists all the kernel modules that are currently loaded into the Linux kernel. Each entry in the output shows details about the modules, including their name, size, and usage count, allowing users to see which modules are active and interacting with the system.

Understanding this command is essential for troubleshooting and system management tasks, as it provides insights into the kernel's current configuration and the drivers that are in use. The other commands serve different purposes: 'modprobe' is used to add or remove modules, 'insmod' is specifically for inserting a module into the kernel, and 'rmmod' is utilized to remove a module from the kernel. These functionalities are crucial for managing kernel modules but do not serve the purpose of displaying currently loaded modules.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy