uname output ?
Michael O'Donnell
mod+gnhlug at std.com
Mon Aug 19 11:26:10 EDT 2002
> 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.
More information about the gnhlug-discuss
mailing list