Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

"The path to previous driver is usually /lib/modules//kernel/net/wireless"

I need this info so I can finish updating my STA broadcom wireless. However, I'm a noob at Ubuntu and I'm not sure how to find the kernel verision or kernel.

I checked the /lib/modules/ and found this:

2.6.27-10-generic  2.6.32-30-generic  2.6.32-34-generic  2.6.32-38-generic
2.6.27-7-generic   2.6.32-31-generic  2.6.32-35-generic  3.2.0-54-generic
2.6.28-19-generic  2.6.32-32-generic  2.6.32-36-generic  3.2.0-54-generic-pae
2.6.31-23-generic  2.6.32-33-generic  2.6.32-37-generic

Another question. Is there a snippet so I don't have to cut and paste?

Thanks for your time! :)

share|improve this question

1 Answer 1

up vote 9 down vote accepted

Well there are multiple ways to find the kernel version

Open terminal and execute:

 uname -r

It would display something like:

 3.8.0-30-generic

You can also get the complete list by:

 uname -a

It would display something like:

 Linux saurav-P4I45Gx-PE 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 17:33:45 UTC 2013 i686 i686 i386 GNU/Linux

Another way to know the kernel version is to open Synaptic Package Manager and search for linux header. You have to check for the installed Kernel version.

Yet another way to find the kernel version is to run this command:

 sudo dpkg -l | grep linux-headers | grep ii

or

 sudo dpkg -l | grep linux-headers | grep ii | awk '{print $3}'
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.