How to know the version of CentOS

To find out the version of CentOS via Terminal or Putty, simply access the server and run the command:

cat /etc/redhat-release