Simple Command to Find Which Version of Redhat/CentOS You’re Running

Finding out the version of redhat or centOS you’re running is easy, you simple cat out the release version file standard on any red hat variant.

[root@server101 ~]# cat /etc/redhat-release

Output

CentOS release 6.7 (Final)