Disable ads (and more) with a premium pass for a one time $4.99 payment
The command that displays the modules currently loaded into memory is 'lsmod'. When executed, it provides a list of all kernel modules that are actively loaded on the system. This command also shows additional information, such as the size of each module and their dependency relationships, which can be very useful for system diagnostics and management.
In contrast, 'modinfo' is used to display information about a specific module, such as its parameters and dependencies, but it does not show the currently loaded modules. The 'insmod' command is utilized to insert a module into the kernel, effectively adding it to the list of loaded modules, while 'rmmod' is for removing a module from the kernel. These commands have their specific purposes but do not provide the overview of currently loaded modules that 'lsmod' does.