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 comment on “How to Check CentOS or Red Hat Version

  • Dfsdgfsdf

    enter command
    uname -r

Leave a Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>