On 27-Aug-99 Seth R Arnold wrote: > On Fri, Aug 27, 1999 at 11:28:16AM -0500, Brian Servis wrote: >> I know that Debian has a file /etc/debian_version which is part of the >> base-files package so that should be present on all Debian machines. >> What do other dists have that is a sure way of knowing what dist is set >> up on the machine? > > Well, /etc/redhat-release and IIRC /etc/SuSE-Version are two more to add > to > the list.
What about 'uname -a' ? Will that do it? You could read /etc/issue or /etc/issue.net but I for one change those for security reasons. -- Andrew ----------------------------- GnuPG Public KeyID: 0x48109681