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

Re: Determine system ver (Debian vs. other Linuxes) at runtime?




"OxyOss" <oxyoss@hotmail.com> wrote in message news:43B61572.50605@hotmail.com...


Have you tried to use the contents of /etc/issue ?  Typically for
RedHat/Fedora this will have the release in it, and (for Sarge at least)
this is also the case for Debian.  I've done a dist-upgrade on this box
and the file shows the correct version number at least...

user@debian:~# cat /etc/issue
Debian GNU/Linux 3.1 \n \l

The problem is that that is almost certainly a conffile. It is the system logon message, and sysadmins are free to change it at will.



Reply to: