Het system_profiler command – Toont Apple hardware and software configuratie.

U kunt het commando system_profiler als volgt gebruiken om dezelfde informatie op te halen:

De vorige commando’s maken gebruik van het /System/Library/CoreServices/SystemVersion.plist bestand.
U kunt de informatie als volgt uitlezen:
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=”1.0″>
<dict>
<key>ProductBuildVersion</key>
<string>15B42</string>
<key>ProductCopyright</key>
<string>1983-2015 Apple Inc.</string>
<key>ProductName</key>
<string>Mac OS X</string>
<key>ProductUserVisibleVersion</key>
<string>10.11.1</string>
<key>ProductVersion</key>
<string>10.11.1</string>
</dict>
</plist>
Typ de volgende uname opdracht om de naam van het besturingssysteem te zien.
