In this post, I will share the quick steps on how to check the linux CentOS version. These steps may work 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 commands to check the 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 commands above return the same result.
1 Comment
enter command
uname -r