How to find VERSION of UNIX OS

16AW20000[ehs]-Sandeep VarmaHO0000T100 srvarma at sodium.att.com
Tue Jun 25 08:16:49 AEST 1991


In article <2336 at prodigal.dwrsun2.UUCP> perl at dwrsun2.UUCP (Robert Perlberg) writes:
>
>In pre-4.1.1 versions of SunOS it's in /usr/5bin, so you have to
>install the System V utilities to get it.
>
How about the following options, without having to install Sys5 stuff:

1. Reading from /etc/motd. Normally, system administrators put the version info
in that file.

2. Via "/etc/dmesg" command. Generally, this also gives you info about version
number and a lot of other interesting stuff.

3. If 1 and 2 fail, you should be able to do a cat on "etc/install/release" to
get version number of SunOS. 

Hope this helps.

- Sandeep.

-- 
Sandeep Varma			Internet: srvarma at sodium.att.com
AT&T Bell Labs 			UUCP:	  uunet!att!sodium!srvarma
Lincroft, NJ 07738		Voice:	  (908)842-3866 (H)/(908)576-4225 (W)
"Live Unix OR Die!"		[My company has nothing to do with the above.]



More information about the Comp.unix.questions mailing list