Determining linux distribution
Stephen Allen
kru_tch-FFYn/CNdgSA at public.gmane.org
Sun Apr 17 17:49:29 UTC 2005
John Vetterli wrote:
> 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.
Wouldn't 'uname -a' return the desired info ?
--
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