Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
share|improve this question
add comment

1 Answer

up vote 9 down vote accepted

It is not contradictory information. What you're running is Oracle Enterprise Linux, based on RHEL. For more info, check here .

share|improve this answer
    
Whats the deal with these two code names "Carthage" and "Tikanga"..why are they different ? –  Geek Jan 29 '13 at 16:04
3  
Carthage is the codename for Oracle's distribution, based on Redhat's, which is codenamed Tikanga. –  schaiba Jan 29 '13 at 16:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.