From 8518db8ff96e8ac1ad6daf5b4a74c4a6ab7e6c3d Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Thu, 23 May 2019 17:58:32 +0100 Subject: [PATCH] sw_vers: improve descriptions, add basic example (#3050) --- pages/osx/sw_vers.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pages/osx/sw_vers.md b/pages/osx/sw_vers.md index f06ab63333..8026b6f34d 100644 --- a/pages/osx/sw_vers.md +++ b/pages/osx/sw_vers.md @@ -1,11 +1,15 @@ # 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` -- Print macOS Build: +- Print only the build identifier: `sw_vers -buildVersion`