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

Re: [LCP]Linux release



 Hi Folks,
| 
| Does any one know how to detect the Linux flavor, for example Red 
Hat, SuSE

SuSe has a file called /etc/SuSE-release which looks somthing like this:
SuSE Linux 6.4 (i386)
VERSION = 6.4

Dunno about the others.

Just out of curiosity.... 
In which situation would you benefit from knowing that?
The only tool that I know of that needs to know this is webmin ...
Isn't it enough to know i.e. (g)libc and (maybe) kernel version?

Regards,
Joachim
 
| .....
| 
| 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
| 
| 

-- 
FOOT-AND-MOUTH BELIEVED TO BE FIRST VIRUS UNABLE
TO SPREAD THROUGH MICROSOFT OUTLOOK:
http://www.satirewire.com/news/0103/outlook.shtml