How to find out what version your red hat-flavored distro is

"uname -a" tells you what kernel you have. But sometimes one needs to know what distribution you are running: Fedora Core X, CentOS X.X, etc.

On Red Hat systems, simply:

% cat /etc/redhat-release
CentOS release 4.4 (Final)
%