Tuesday, May 1, 2012

Find Linux Kernel Version

How do I find out my Linux kernel version?

You need to type the following command at shell prompt:
$ uname -r
Sample outputs:
2.6.18-194.3.1.el5
The following gives out more information:
$ cat /proc/version
Sample outputs:
Linux version 2.6.18-194.3.1.el5 (mockbuild@x86-004.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Sun May 2 04:17:42 EDT 2010

More About Linux Kernel Version Release Numbers Between 1.0 and 2.6.x

The Linux kernel used odd minor version numbers to denote development releases and even minor version numbers to denote stable releases; For example, Linux kernel version 2.3 was a development version and Linux 2.4 was the stable version. Since 2004 release of the v2.6 kernel, Linux no longer uses this system, and has a much shorter release cycle, instead now simply incrementing the third number, using a fourth number as necessary.

No comments:

Post a Comment