Linux Find Out Kernel Module (Device Driver) Version Number

To find out the version number of a kernel module or device driver in Linux, you can use the following command:

modinfo <module_name>

Replace <module_name> with the name of the module for which you want to see the version number. For example, to find the version number of the “vmxnet3” module, you would run:

modinfo vmxnet3

The output will contain information about the module, including its version number, which is listed under the “version” field.

Alternatively, you can also use the following command to view the version number of all loaded modules:

lsmod | awk '{print $1, $3}'

This will produce a list of all loaded modules and their corresponding version numbers.

Leave a Comment