[NTLUG:Discuss] Any way to detect a distro?
Bryan J. Smith
b.j.smith at ieee.org
Fri Aug 19 02:02:13 CDT 2005
On Fri, 2005-08-19 at 04:56 -0500, Leroy Tennison wrote:
> I know about uname but I'm wondering if there is any simple program like
> it that tells you it's "SuSE 9.2" or "Fedora Core 4", etc.
It's up to vendors to come up with their own standards for distribution
tagging (disttag).
But Linux Standards Base (LSB) distributions typically have a:
/etc/lsb-release
Which states what LSB release they are compliant (or attempt to comply)
to.
This has been adopted because most vendors have a /etc/*release* file as
well. E.g., /etc/fedora-release.
--
Bryan J. Smith b.j.smith at ieee.org http://thebs413.blogspot.com
----------------------------------------------------------------------
The best things in life are NOT free - which is why life is easiest if
you save all the bills until you can share them with the perfect woman
More information about the Discuss
mailing list