How2CentOS posted a quick tip about checking the CentOS version number
Most Red Hat-based distributions, like CentOS, should have a file called redhat-release which will contain the CentOS version.How to check your CentOS version?