To find which version you are using in CentOS, you can check the redhat-release file in /etc. When you check that file, you will see something like this:
[email protected] [~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
Chris February 25th, 2011
Posted In: How To
Tags: root