[Linux-disciples] Identifying the distro
Adam Rosi-Kessel
adam at rosi-kessel.org
Tue Oct 25 15:33:07 EDT 2005
Stephen R Laniel wrote:
> 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.
Not that I know. You can probably find an idiosyncrasy for each
distribution--e.g., Debian has /etc/debian_version (or /usr/bin/dpkg), etc..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20051025/e9625f64/signature.pgp
More information about the Linux-disciples
mailing list