From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,96d1d6750504d15d X-Google-Attributes: gidfee84,public From: Jeff Sullivan Subject: Re: Syntax for discovering DEC Unix version Date: 1999/09/22 Message-ID: <37E8F16C.BF9D0BCB@zk3.dec.com>#1/1 X-Deja-AN: 528258139 Content-Transfer-Encoding: 7bit References: <1QUF3.22452$ei1.42884@newsfeeds.bigpond.com> <7s9rna$cde$0@216.39.144.181> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 938013039 27160 16.141.0.178 (22 Sep 1999 15:10:39 GMT) Organization: Compaq Computer Corporation Mime-Version: 1.0 NNTP-Posting-Date: 22 Sep 1999 15:10:39 GMT Newsgroups: comp.unix.osf.osf1 Jarkko Hietaniemi wrote: > > > uname -r and uname -v > > The first one of which gives you only the major version (like V4.0) > the second one of which gives you a "release identifier" which > doesn't intuitively map to the minor version. > > I suggest sizer -v. I would also recommend using "/usr/sbin/sizer -v", but note that it is probably not in the user's path by default. Also note that "uname -a", probably is in the default path and is more "portable" among other versions of UNIX and Linux. However, as alluded to above, you'll need to convert the "release identifier" to the product name (V4.0F, etc.) manually. For example: % sizer -v Digital UNIX V4.0F (Rev. 1229); Fri Aug 20 05:57:31 EDT 1999 % uname -a OSF1 machine.zk3.dec.com V4.0 1229 alpha -Jeff -- Jeff Sullivan | Compaq Computer Corp | mailto:jps@zk3.dec.com Compaq C/C++ | Nashua, NH ZK3-2X23 |Jeff.Sullivan@compaq.com