Get version of loaded kernel module

lsmod | grep -io MODULENAME| xargs modinfo | grep -iw version
Returns the version of the kernel module specified as "MODULENAME", when available.
Sample Output
lsmod | grep -io e1000 | xargs modinfo | grep -iw version

version:        7.3.21-k8-NAPI

By: adriano
2013-03-18 07:52:14

What Others Think

Kernel module has some parts to get on it this has some version to read the response facts to have on it that was good. I will able to get parts that have careers booster this can make parties share the data or have a partition to make on it.
AnthMulli · 52 weeks and 2 days ago
Hey everyone, this is the fourth article in the series on the most popular commandlinefu one-liners explained. Here are the first three parts: Part I: Top Ten ... BY"> Eicfollowers uk
followerscanda · 50 weeks ago
A growing collection of handy hints, commandlinefu, makes light work of tricky commands. You can quickly find the top commands or simply ... BY
followerscanda · 50 weeks ago
I am thinking about how you gathered these ideas together. The substance in their blog is really useful and entertaining as well. Simply cherished your substance. I will return again without a doubt. Appreciated by
smmstoreuk · 49 weeks and 2 days ago
apropos modinfo modinfo (8) - display information about a kernel module $ modinfo cpuid.ko filename: cpuid.ko author: H. Peter Anvin
followerscanda9 · 49 weeks ago
- lsmod | grep -io MODULENAME| xargs modinfo | grep -iw version - (Get version of loaded kernel module Returns the version of the kernel"> Followers italy
followerscanda9 · 49 weeks ago
You can use the modinfo command to give you all kind of information about a given module. For example: $ modinfo bluetooth filename: "> Followers italy
followerscanda9 · 49 weeks ago
How to manually load a kernel driver? Resolution. Installed modules will vary between systems, even for the same version of Red Hat Enterprise
followerscanda9 · 49 weeks ago
You can display detailed information about a kernel module by running the ... version: 1.2.7-k2 license: GPL description: Intel(R) PRO/1000 Network Driver ...
followerscanda9 · 49 weeks ago
A repository for the most elegant and useful UNIX commands. Great commands can be shared, discussed and voted on to provide a comprehensive resource for ... by
followerscanda · 38 weeks and 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: