Check which version of CentOS is running
To see which version of CentOS you are currently using, run the following command
$ cat /etc/redhat-release
To see which version of CentOS you are currently using, run the following command
$ cat /etc/redhat-release