Determining linux distribution
James Knott
james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Sun Apr 17 18:01:09 UTC 2005
Stephen Allen wrote:
> 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 ?
No.
--
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