How to find VERSION of UNIX OS

Dik T. Winter dik at cwi.nl
Sun May 26 17:45:07 AEST 1991


In article <1991May26.030122.20964 at Think.COM> barmar at think.com writes:
 > In article <1991May24.163048.4493 at ida.liu.se> larvi at 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 at cwi.nl



More information about the Comp.unix.questions mailing list