Redhat – How to determine what version of Red Hat Enterprise Linux the server is running

redhat

I can use uname and cat /proc/version but all I get is the kernel version.

How do I know whether I'm running RHEL4 or 5.5 or such?

Best Answer

You can find out in the file /etc/issue

cat /etc/issue

And also on redhat based systems, you can find out in /etc/redhat-release

cat /etc/redhat-release