Name

modinfo

Synopsis

modinfo [options] object-file

System administration command. Print information about kernel module object-file. Information is read from tag names in the mod-info section of the module file. By default, it will print the module’s filename, description, author, license, and parameters.

Options

−0, --null

Separate fields with the null character instead of newlines.

-F fieldname, --field fieldname

Print only the value of the specified fieldname (e.g., author, license, depends, etc.).

-h, --help

Print usage message, then exit.

-k kernel

Specify kernel to use (e.g., a kernel other than the running kernel).

-V, --version

Print version number of the module.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.