Eli Barzilay wrote:
>Does anyone know a portable way of getting the distribution and
>version of a linux machine? Specifically, I don't know of any way to
>get the version of Debian/Ubuntu machines.
>>(The best hack I found so far is pretty bad: "cat /etc/issue.net"...)
>>>I have looked for such things and not found a way. I assume you will go
down the "try various hacks and see what works" route so heres the
gentoo way:
~ $ cat /etc/gentoo-release