Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!boulder!spot.Colorado.EDU!cook From: cook@news.colorado.edu (Richard L. Cook) Newsgroups: comp.unix.questions Subject: Re: How to find VERSION of UNIX OS Message-ID: Date: 23 May 91 17:02:12 GMT References: <1991May22.163628.12135@njitgw.njit.edu> <1991May22.202352.25009@dg-rtp.dg.com> <1991May23.154837.17537@linus.mitre.org> Sender: news@colorado.edu (The Daily Planet) Reply-To: cook@spot.Colorado.EDU Organization: University of Colorado, Boulder Lines: 24 Nntp-Posting-Host: spot.colorado.edu >>Try "uname -a". You should get the version, release, and several >This works on an SG but not on Ultrix or SunOS. This works fine under ULTRIX -- if your ULTRIX is up-to-date! Some of our workstations are, others aren't, which made it easy to check on this and under 4.1 (and presumably 4.0) uname works as expected. It also works on my PC and as my MKS toolkit manual notes uname comes to us from the AT&T flavor of UNIX (which makes SunOS a bit of a mystery -- I thought it was really AT&Sun but I don't have a Sun handy). The toolkit manual also points out that uname conforms to POSIX.2 as well as the X/OPEN Portability Guide so we should see it VMS Real Soon Now! The direction most UNIXen are headed in is towards a merging of the best of System V and BSD which is what the standards efforts end up formalizing. As another example, ULTRIX 4.0 was where the Korn shell (the only shell game worth playing...:-) popped up. I don't think it came with System V by default until release 4; it's the only shell that comes with the MKS toolkit although you can always continue to use COMMAND.COM on the PC if you want...;-) -- Richard cook@spot.Colorado.EDU | cook@Colorado.BITNET | +1.303.492.2148 Social Science Data Analysis Center, University of Colorado, Boulder