What version of RedHat am I using?
Author: Deron Eriksson
Description: This tutorial demonstrates how to determine which version of RedHat Linux you are using.
Tutorial created using: CentOS release 4.6

Depending on the particular distribution of Linux, version information may be present in the /etc directory. For RedHat versions, you can find the version information in /etc/redhat_release. Other distributions may use a different file in /etc. Executing the following command reveals that I am using a system running CentOS release 4.6.

cat /etc/redhat_release
Displaying contents of /etc/redhat_release

System information can also be obtained via the "uname" command. I'll display all uname information via the -a switch:

uname -a
uname -a