home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11863 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!uunet.ca!shark!neil
  3. From: neil@csi.on.ca (Neil Channen)
  4. Subject: Discovering the operating system version
  5. Message-ID: <1992Nov23.224107.19126@csi.on.ca>
  6. Sender: usenet@csi.on.ca (0000-news system owner(0000))
  7. Nntp-Posting-Host: cod.csi.on.ca
  8. Organization: Carp Systems International, Kanata, ON
  9. Distribution: na
  10. Date: Mon, 23 Nov 1992 22:41:07 GMT
  11. Lines: 18
  12.  
  13. I need a way to find out the version of the operating system on an AIX
  14. system, for example, "3.1.5" or "3.2.1".  Currently, I can get the first
  15. two numbers using the "uname" command, for example:
  16.     
  17.     example% echo "`uname -v`.`uname -r`"
  18.  
  19. gives:       3.1
  20.  
  21. But how do I find out the last digit (the sub-release)?  uname doesn't
  22. have any options to print it, and I can't find any references in the
  23. info pages.
  24.  
  25. Thanks for your help.
  26. -- 
  27. Neil R. Channen                            Internet: neil@csi.on.ca
  28. Carp Systems International, Inc.    Office: (613) 592-5780 Extn. 27
  29. 600 Terry Fox Drive, Suite 200                  Fax: (613) 592-0584
  30. Kanata, Ontario, Canada   K2L 4B6              Home: (613) 592-5874
  31.