[Linux-disciples] Identifying the distro

Stephen R Laniel steve at laniels.org
Tue Oct 25 15:26:40 EDT 2005


Is there any portable way to identify which Linux distro
you're running? I'm writing a script that needs to know
whether it's looking at a Debian, Gentoo, FreeBSD, or
whatnot system. 'uname -s' returns 'Linux', say, but not
which distro.

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20051025/f61f08d6/attachment.pgp


More information about the Linux-disciples mailing list