Skip to content

Instantly share code, notes, and snippets.

@stesh
Created November 15, 2011 13:10
Show Gist options
  • Save stesh/1367046 to your computer and use it in GitHub Desktop.
Save stesh/1367046 to your computer and use it in GitHub Desktop.
system_profiler SPSoftwareDataType | grep 'System Version' | cut -d ':' -f 2 | cut -d '(' -f 1 | sed "s/^.//"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment