To see which version of CentOS you are currently using, run the following command

cat /etc/redhat-release