LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

modinfo

extracts and displays information from Linux kernel modules

TLDR

List all attributes of a module
$ modinfo module_name
copy
Show specific field only
$ modinfo -F author module_name
copy
Show module filename
$ modinfo -F filename module_name
copy
Show module parameters
$ modinfo -F parm module_name
copy
Show module license
$ modinfo -F license module_name
copy

SYNOPSIS

modinfo [-0] [-F field] [-k kernel] modulename|filename...

DESCRIPTION

modinfo extracts and displays information from Linux kernel modules. It can show all attributes or specific fields like author, description, license, parameters, and dependencies.

PARAMETERS

-F, --field FIELD

Show only specified field value
-k, --set-version VERSION
Use modules from specified kernel version
-b, --basedir DIR
Use specified directory as root for modules
-0, --null
Separate field values with NUL instead of newline
-a, --author
Shortcut for -F author
-d, --description
Shortcut for -F description
-l, --license
Shortcut for -F license
-p, --parameters
Shortcut for -F parm
-n, --filename
Shortcut for -F filename

COMMON FIELDS

filename: Path to module fileauthor: Module authordescription: Module descriptionlicense: License type (GPL, etc.)version: Module versionparm: Module parameters and descriptionsdepends: Module dependenciesalias: Module aliasessrcversion: Source version hash

INSTALL

sudo apt install kmod
copy
sudo dnf install kmod
copy
sudo pacman -S kmod
copy
sudo apk add kmod
copy
sudo zypper install kmod
copy
brew install kmod
copy
nix profile install nixpkgs#kmod
copy

CAVEATS

Module information is embedded at compile time. Not all modules include all fields. Parameters shown by parm can be passed to modprobe.

HISTORY

modinfo is part of kmod, the kernel module tools replacing older module-init-tools.

SEE ALSO

modprobe(8), lsmod(8), insmod(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid