[DC LoCo] how to determine distribution

Greg Reagle reagle at cepr.net
Wed Aug 10 16:48:22 UTC 2011


On 08/10/2011 12:14 PM, Dan Chen wrote:
>> The computer in question is a hosted virtual web server.It is definitely
>> Linux, but I cannot figure out the distribution (yet).
> Certain files in /etc are hints: /etc/*_release or /etc/*_version. A
> more current distribution likely has `lsb_release', too.

I tried all three of these approaches to no avail.  I have determined that rpm and yum are installed (I installed nano via yum).  So, I know that has Red-Hat-like package management.  Out of curiosity, does anyone know how to determine which distribution it is?

-- 
Greg Reagle
System Administrator
Center for Economic and Policy Research
reagle at cepr.net
http://www.cepr.net/



More information about the Ubuntu-us-dc mailing list