[LCP]Linux release

Luciano A. Stertz luciano at tteng.com.br
Thu Mar 21 17:04:22 UTC 2002


    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 at 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
> 




More information about the linuxCprogramming mailing list