Kernel and Distribution Versions
The Kernel is the core of the operating system, and in Linux, you will routinely come across kernel upgrades that promise more features or more stability. But how do you find out which kernel you're currently running? Just open up a terminal window and type the following command:
As you can see, I am passing two parameters with the uname command. The -s switch prints the name of the Kernel, and -r prints the release version of the command. The output?
Don't worry if you get a different output. This output is taken from my dedicated server running Red Hat Enterprise Linux 5. If you are running a newer operating system, your kernel version will be higher than the output. On a newer machine, this is what I got:
Finding the distribution version is as simply as typing:
On my newer machine, this is what I have installed:
CentOS release 5.5 (Final)