commands
lsmod — List loaded kernel modules
Formats /proc/modules. Built-in drivers are not listed; a restricted environment may not expose the file. Use a fresh private workspace; No production workload is required.
Formal Syntax & Structure
linux syntaxlinux
lsmodReturn Value
exit status and output
Prints the currently visible loaded kernel-module table. Success does not prove that a particular driver is loaded or that a module can be loaded by this caller.
Working Example
Example Snippetlinux
lsmod