Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!dptg!sodium!srvarma From: srvarma@sodium.att.com (16AW20000[ehs]-Sandeep Varma(HO0000)T100) Newsgroups: comp.unix.questions Subject: Re: How to find VERSION of UNIX OS Message-ID: <1991Jun24.221649.1772@sodium.att.com> Date: 24 Jun 91 22:16:49 GMT References: <1991May22.163628.12135@njitgw.njit.edu> <1991May30.034145.21821@ux1.cso.uiuc.edu> <2336@prodigal.dwrsun2.UUCP> Reply-To: srvarma@sodium.ATT.COM (Sandeep Varma) Organization: AT&T BL Middletown/Lincroft NJ USA Lines: 25 In article <2336@prodigal.dwrsun2.UUCP> perl@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@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.]