Commands to get CentOS 6 Kernel Version

FerdieQO

Well-known member
Joined
Jul 15, 2016
Messages
222
Points
28
Have you ever wondered what is your Kernel Version on your CentOS?

These are steps that I want to show you how to get your kernel version of your CentOS 6 Linux system.

So how do we can find out which version of Linux kernel on our CentOS 6 server that using?

Just like in any other Linux distribution uname -r command can be used to get CentOS 6 kernel version.

Code:
uname -r
get-CentOS-6-Kernel-Version.jpg

In CentOS 6 /proc/sys/kernel/osrelease file also contains the kernel information. We can read the file using cat command.
Code:
cat /proc/sys/kernel/osrelease
get-CentOS-6-Kernel-Version1.jpg

As you can see both commands print the same information. So you can use either uname -r” or cat /proc/sys/kernel/osrelease command to get CentOS 6 kernel version.
 
Newer Threads
Replies
2
Views
2,422
Replies
2
Views
2,746
Replies
13
Views
4,830
fwh
Replies
6
Views
4,837
Latest Threads
Replies
1
Views
23
Replies
0
Views
175
Replies
1
Views
37
Replies
2
Views
81
Recommended Threads
Replies
0
Views
1,156
Replies
5
Views
3,472
Replies
22
Views
8,932

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top