How to check your CentOS version

Most Red Hat-based distributions, like CentOS, should have a file called redhat-release which will contain the CentOS version.

or

and finally