Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jeff Sullivan <jps@zk3.dec.com>
Subject: Re: Syntax for discovering DEC Unix version
Date: 1999/09/22	[thread overview]
Message-ID: <37E8F16C.BF9D0BCB@zk3.dec.com> (raw)
In-Reply-To: oeezoyfqonn.fsf@alpha.hut.fi

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



      parent reply	other threads:[~1999-09-22  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-22  4:00 Syntax for discovering DEC Unix version Joseph Zangara
1999-09-22  4:00 ` Dave Carrigan
1999-09-22  4:00   ` Jarkko Hietaniemi
1999-09-22  4:00     ` Kai Kataja
1999-09-22  4:00     ` Jeff Sullivan [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox