Determining linux distribution
John Vetterli
jvetterli-zC6tqtfhjqE at public.gmane.org
Sun Apr 17 16:00:09 UTC 2005
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.
My 2 cents, with no GST!
JV
--
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