Just click System/About Ubuntu?
or
Got to Applications -> Accessories -> Terminal and type cat /etc/lsb-release
Then you could see the following
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION=”Ubuntu 10.04.2 LTS”