Browse Source

modinfo: add page (#1585)

Ayush Dwivedi 7 years ago
parent
commit
ced7343ea0
1 changed files with 11 additions and 0 deletions
  1. 11 0
      pages/linux/modinfo.md

+ 11 - 0
pages/linux/modinfo.md

@@ -0,0 +1,11 @@
+# modinfo
+
+> Extract information about a Linux kernel module.
+
+- List all attributes of a kernel module:
+
+`modinfo {{kernel_module}}`
+
+- List the specified attribute only:
+
+`modinfo -F {{author|description|license|parm|filename}} {{kernel_module}}`