cmdxray / commands / lsmod

What does lsmod do?

show the status of loaded kernel modules (reads /proc/modules).

▸ Explain your own lsmod command →

lsmod examples, explained

$ lsmod

  • lsmodshow the status of loaded kernel modules (reads /proc/modules)

$ lsmod | grep nvidia

  • lsmodshow the status of loaded kernel modules (reads /proc/modules)
  • |pipe — send this command's output into the next command
  • grepsearch input for lines matching a pattern
  • nvidiaan argument passed to the command

Other commands

Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.