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.

1 comment
  1. Dfsdgfsdf
    Dfsdgfsdf
    October 27, 2012 at 2:05 pm

    enter command
    uname -r

    Reply
Leave a Reply

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

SiteGround.com

A world leading hosting company that provides fully-managed innovative and secure solutions, suitable for hosting small to medium-sized websites

Built on the best available technologies combined with Google Cloud for strong redundancy and application availability. Backed by skilled experts to address web security threats, a devops team to create advanced custom security solutions, and 24/7 sysadmins to watch over the platform. This powerful, hands-on approach makes your sites faster, safer, and easier to manage. Starting from only $3.95/mo.

TRY FREE

* up to 30 days money back guarantee