How to Check CentOS or Red Hat Version

rhelIn this post, i will share the quick steps on how to check linux CentOS version. This steps may working on any version of CentOS and Redhat Enterprise linux (RHEL) server. CentOS versions can easily be checked with some simple commands. There are two common command to check linux version :

1. Execute the issue command :

[root@centos62 ~]# cat /etc/issue
CentOS release 6.2 (Final)
Kernel \r on an \m

2. Execute redhat-release command :

[root@centos62 ~]# cat /etc/redhat-release
CentOS release 6.2 (Final)

Both command above return the same result.

One Reply to “How to Check CentOS or Red Hat Version”

Leave a Reply

Your email address will not be published. Required fields are marked *