Michael C. Toren on Fri, 12 Sep 2003 15:58:15 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] version?


> Is there a command in RedHat (or any other distro) to yield the version
> number?

On a RedHat system, the version information appears to be contained
in the file /etc/redhat-release.  Likewise, on a Debian system see
/etc/debian_version, and on a Slackware system, /etc/slackware-version.
For other distributions, generally speaking, looking for files matching
the patterns /etc/*version* or /etc/*release* seems to be a good
approach.

-mct
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug