sw_vers: improve descriptions, add basic example (#3050)
This commit is contained in:

committed by
Owen Voke

parent
f30d5ae886
commit
8518db8ff9
@@ -1,11 +1,15 @@
|
|||||||
# sw_vers
|
# sw_vers
|
||||||
|
|
||||||
> Print macOS Software versioning information.
|
> Print macOS operating system version information.
|
||||||
|
|
||||||
- Print macOS Version:
|
- Print all available information (OS name, version number, and build):
|
||||||
|
|
||||||
|
`sw_vers`
|
||||||
|
|
||||||
|
- Print only the version number of the operating system:
|
||||||
|
|
||||||
`sw_vers -productVersion`
|
`sw_vers -productVersion`
|
||||||
|
|
||||||
- Print macOS Build:
|
- Print only the build identifier:
|
||||||
|
|
||||||
`sw_vers -buildVersion`
|
`sw_vers -buildVersion`
|
||||||
|
Reference in New Issue
Block a user