how to find cent os version code example
Example: how to know which centos version is installed
<p>On the GUI (Gnome) upper right corner click on settings and then on details </p>
By command line
cat /etc/centos-release
This command works also changing the word centos by os (os-release)