How to Check CentOS or Red Hat Version

Share this Article :

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 :

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

2. Execute redhat-release command :

[[email protected] ~]# cat /etc/redhat-release
CentOS release 6.2 (Final)

Both command above return the same result.

One Response

  1. Dfsdgfsdf

Leave a Reply