search for: 0rm1dfle6jrlt3x

Displaying 1 result from an estimated 1 matches for "0rm1dfle6jrlt3x".

2007 Nov 07
1
A more elegant way of obtaining the major OS release number
Hello all: > We operate in an environment where we might sometimes wish to do > certain tasks based solely upon the MAJOR version number of an OS > release, disregarding the minor portion of the version number. For > instance, CentOS 4.0 through 4.5 would all be ''CentOS 4'' to some > scripts, and CentOS 5.0 and greater would all be ''CentOS 5''.