Determining linux distribution

Jason Shein jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
Sun Apr 17 18:23:25 UTC 2005


On April 17, 2005 06:02 pm, Austin wrote:
> On Sun, 2005-04-17 at 13:49 -0400, Stephen Allen wrote:
> > Wouldn't 'uname -a' return the desired info ?
>
> Barely.
>
> [austin at localhost ~]$ uname -a
> Linux localhost 2.6.10-3.mm.17mdk #1 Sun Apr 3 22:37:03 CEST 2005 i686
> AMD Athlon(tm) XP 2500+ unknown GNU/Linux
>
> The suffix "mdk" on the kernel version indicates Mandrakelinux, but
> that's a bit cryptic.  Most distros have a version tag in /etc.
>
> [austin at localhost ~]$ cat /etc/mandrake-release
> Mandrakelinux release 10.2 (Cooker) for i586
>
> A bit more verbose I'd say...
>
> Austin
>
> --
> 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


This will work

cat /etc/*-release

-- 
Jason Shein
Director of Networking, Operations and Systems
Detached Networks
jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
( 905 ) - 876 - 4158 Voice
( 905 ) - 876 - 5817 Mobile
http://www.detachednetworks.ca
--
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