I wanted to check which linux distribution is running on a remote linux box given to me .i have see this answer on super user which says that
LSB tools provide this information
And then it goes on to say that on systems where LSB is not installed for most popular distros the following will do the trick :
cat /etc/*{release,version}
Now here is what I saw using these two techniques :
[subhrcho@slc04lyo pcbpel]$ lsb_release -irc
Distributor ID: EnterpriseEnterpriseServer
Release: 5.8
Codename: Carthage
[subhrcho@slc04lyo pcbpel]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
My question why am I getting contradictory information from running these commands ? What am I missing here ?
Additional information : When issuing uname -or command I get the following :
2.6.18-308.4.1.0.1.el5xen GNU/Linux