[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [LCP]Linux release



    Every Linux distribution has a file on /etc that says something about it:

    red hat:
    /etc/redhat-release

    suse:
    /etc/SuSE-release

    debian:
    /etc/debian-release

    ...

    Well, I'm not sure if the filenames are exacly like that. The contents of those
files are very different from one distribution to other.

    Sorry for the bad english. :-]

    Luciano

On Tue, 19 Mar 2002 10:39:20 -0500
"Karel Cardona" <kcardona@marsys.com> wrote:

> 
> Hi Folks,
> 
> Does any one know how to detect the Linux flavor, for example Red Hat, SuSE
> .....
> 
> Thx
> 
> Karel Cardona
> Software Engineer
> MSI-Miami
> www.marsys.com
> 
> 
> _______________________________________________
> This is the Linux C Programming List
> :  http://lists.linux.org.au/listinfo/linuxcprogramming List
>