Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!hp4nl!cwi.nl!dik From: dik@cwi.nl (Dik T. Winter) Newsgroups: comp.unix.questions Subject: Re: How to find VERSION of UNIX OS Message-ID: <3592@charon.cwi.nl> Date: 26 May 91 07:45:07 GMT References: <1991May23.154837.17537@linus.mitre.org> <1991May24.163048.4493@ida.liu.se> <1991May26.030122.20964@Think.COM> Sender: news@cwi.nl Organization: CWI, Amsterdam Lines: 13 In article <1991May26.030122.20964@Think.COM> barmar@think.com writes: > In article <1991May24.163048.4493@ida.liu.se> larvi@ida.liu.se (Lars Viklund) writes: > >uname(1) exists in SunOS 4.1.1, but not in 4.0.3. I'm nor sure about 4.1. > > I believe it exists in 4.0.3, but it's in /5bin rather than /bin. > -- I found this sequence of responses amusing. The question was (see Subject). And to use uname to do it you have to know the version first. My response to the original question is: there is not easy portable way to do it. -- dik t. winter, cwi, amsterdam, nederland dik@cwi.nl