Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: How to find VERSION of UNIX OS Message-ID: <8040@auspex.auspex.com> Date: 26 May 91 19:17:23 GMT Article-I.D.: auspex.8040 References: <1991May22.202352.25009@dg-rtp.dg.com> <1991May23.154837.17537@linus.mitre.org> <1991May23.173418.8896@ssd.kodak.com> Organization: Auspex Systems, Santa Clara Lines: 14 >It does work in SunOS 4.1.1 on a Sun4 (but not in SunOS 4.0.3 on a Sun3). It's nothing to do with Sun-3 vs. Sun-4; it's a question of pre-4.1 vs. 4.1[.x]. Systems prior to 3.2 didn't have "uname" at all; 3.2 through 4.0[.x] had it in "/usr/5bin", and 1) don't report the exact release number and 2) don't give the version number at all; 4.1 actually gets it from a structure generated during the kernel build, and should give the right release number and should give the number that shows up in "/etc/motd" in: SunOS Release 4.0.3c (FDDI_ALM_M) #1: Wed Nov 21 14:15:21 PST 1990 ^ as the version number.