How about using GCC? $ gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-112)
On Mon, 2002-08-19 at 11:26, Michael O'Donnell wrote: > > > > I'm curious; just how do you identify if a system is Debian or > > Red Hat? I've yet to find a reliable method. > > Wouldn't the presence of (some combination of) the various > apt-related directories be a reliable sign that you had > a Debian box? Like, say, /etc/apt, /var/cache/apt and > /var/lib/apt. Bonus points for /etc/debian_version... > > I don't know much about RedHat but I'd assume the > corresponding RPM stuff could serve the same purpose. > > _______________________________________________ > gnhlug-discuss mailing list > [EMAIL PROTECTED] > http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss _______________________________________________ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss