uname print system information; The file /etc/redhat-release contains a human readable text version of the release of Red Hat Enterprise Linux installed on a system.
Code:
less /etc/redhat-release
OR may be use cat
Code:
cat /etc/redhat-release
uname will give you kernel version