Determining linux distribution

dan sinclair zero-zgL5Owk5LsjZLAS6AT9qEw at public.gmane.org
Sun Apr 17 17:57:36 UTC 2005


dsinclair at lain [~] -> uname -a
Linux lain 2.6.6 #1 SMP Tue May 18 17:42:45 EDT 2004 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz GenuineIntel GNU/Linux

nope

dan


> John Vetterli wrote:
> > On Sat, 16 Apr 2005, dan sinclair wrote:
> > 
> >> You could try something like
> >> cat /etc/*-release
> >> Redhat, SuSe and Gentoo at least seem to stick a release file
> >> in /etc....
> > 
> > 
> > You might also want to try /etc/*-version.  Slackware has an 
> > /etc/slackware-version file; this might work for some other distro too.
> > 
> > I know Debian has a /etc/debian-<something> file.
> 
> Wouldn't 'uname -a' return the desired info ?
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
> 
> 




--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list