uname output ?
bscott at ntisys.com
bscott at ntisys.com
Mon Aug 19 11:40:39 EDT 2002
On Mon, 19 Aug 2002, at 11:15am, mike ledoux 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.
Red Hat has a file called /etc/redhat-release. Debian has a file called
/etc/debian_release (or something close to that; I don't have a Debian
system to check). Other distros do similar things. Of course, this leads
to an identification algorithm which consists of a giant, messy switch/case
structure. Ugly, but often better than nothing.
--
Ben Scott <bscott at ntisys.com>
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or |
| organization. All information is provided without warranty of any kind. |
More information about the gnhlug-discuss
mailing list