How to find CentOS Linux release version on CentOS 7 series

Recently I installed CentOS 7 in my local system. As we know there are many new changes has been done in CentOS 7 version. Today, I am writing about our first finding in CentOS 7.
Through this post we will know about how to find CentOS Linux realase version on CentOS 7 series.

In previous CentOS versions, we had one file called issue, absolute path was /etc/issue. It used to show details of CentOS Linux Release Version.

Now to know about the CentOS Linux Release Version, use the below command. Which is also applicable in Red Hat Enterprise Linux 7 . (file /etc/redhat-release was already available in previous RHEL versions)

cat /etc/redhat-release

Given below is detail from my server

[root@localhost ~]# ls -l /etc/issue
-rw-r--r--. 1 root root 23 Jul  4 07:00 /etc/issue
[root@localhost ~]# 
[root@localhost ~]# cat /etc/issue
S
Kernel r on an m

[root@localhost ~]# 
[root@localhost ~]# cat /etc/redhat-release 
CentOS Linux release 7.0.1406 (Core) 
[root@localhost ~]# 
[root@localhost ~]# 

Most probably this change happened due to CentOS and Red Hat team are working together.(Read this article)

Actually I encountered with first finding with Networking(ethernet) changes. The nomenclature is changed , now it is not like eth0, eth1 type of.
In next post, I will come up with some more details. Keep reading.
Linux rocks!

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.