[ale] Universal way to determine distro?

Jeff Lightner jlightner at water.com
Thu Jul 20 09:39:18 EDT 2006


No universal way but often between uname and cat of /etc/issue you can
figure out what you need to know about Distro and kernel.

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
To: ale at ale.org
Geoffrey
Sent: Thursday, July 20, 2006 9:36 AM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Universal way to determine distro?

Jeffrey B. Layton wrote:
> Good morning,
> 
>    I guess this shows my lack of knowledge but is there a
> universal way to determine what distro a particular machine
> is running? I'd like to do this from bash or python, but I
> can't think of nor google anything useful. Any ideas?

Generally you'll find distro info in the /etc/*release file(s), although

that's easily changed.

Slackware uses a different file, but I can't recall the name.  It's in 
the /etc directory as well, I think it has the word 'version' in it.

> 
> TIA!
> 
> Jeff
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 


-- 
Until later, Geoffrey

Any society that would give up a little liberty to gain a little
security will deserve neither and lose both.  - Benjamin Franklin
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale



More information about the Ale mailing list