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 <[EMAIL PROTECTED]>
| 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.  |

_______________________________________________
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss

Reply via email to