Categories

TechTip: Determine the kernel version of your Linux installation

If you ever find ourself in need to determine what version of Linux kernel the system is running you can simply use the following command:

uname -a

Alternatively you can check following files for the kernel info (availability and location depends on release):

/proc/version
/usr/include/linux/version.h

Of course you can always see the version of the kernel RPM package installed by grep-ing the RPM query command for "kernel" (unless the kernel on your system was compiled from scratch):

rpm -qa | grep kernel

If you find any more clever ways of getting your kernel information, please post in the comments.

No comments: