[svlug] How to tell which flavor of Linux is installed?

Rick Moen rick at linuxmafia.com
Mon Jan 9 11:13:45 PST 2006


Quoting P a u l Guth (gunther at gunman.org):

> I always used "uname" for this purpose...does that not work for detecting
> Linux versions?  When I run it (uname -r) on this box I'm on now I get
> 
> 2.6.12-xenU
> 
> which tells me it's a Xen system.  I would hope that this is generalizable
> to all Linux distros being that uname is a POSIX thing....

Ah, if only the kernel version alone were sufficient for scripting!

(Original poster meant "Linux flavour" in the sense of distribution and
version thereof, methinks.)
 
-- 
Cheers,
Rick Moen                            Recidite, plebes!  Gero rem Imperialem!
rick at linuxmafia.com




More information about the svlug mailing list