MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
SWVERS(1)                BSD General Commands Manual               SWVERS(1)

NAME
     swvers -- print Mac OS X operating system version information

SYNOPSIS
     swvers
     swvers -productName
     swvers -productVersion
     swvers -buildVersion

DESCRIPTION
     swvers prints version information about the Mac OS X or Mac OS X Server
     operating system running on the local machine.

     When executed with no options swvers prints a short list of version
     properties:

           % swvers
           ProductName:    Mac OS X
           ProductVersion: 10.3
           BuildVersion:   7A100

     The ProductName property provides the name of the operating system
     release (typically either "Mac OS X" or "Mac OS X Server").  The
     ProductVersion property defines the version of the operating system
     release (for example, "10.2.4" or "10.3").  The BuildVersion property
     provides the specific revision of the operating system as generated by
     the Mac OS X build system.

OPTIONS
     The output of swvers can be refined by the following options.

     -productName     Print just the value of the ProductName property.

     -productVersion  Print just the value of the ProductVersion property.

     -buildVersion    Print just the value of the BuildVersion property.

EXAMPLES
     % swvers -productName
     Mac OS X

     % swvers -productVersion
     10.3

     % swvers -buildVersion
     7A100

FILES
     /System/Library/CoreServices/SystemVersion.plist
     /System/Library/CoreServices/ServerVersion.plist

Mac OS X                        March 10, 2003                        Mac OS X
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™