Skip to content

Instantly share code, notes, and snippets.


Created Nov 6, 2013
What would you like to do?
displaySerNum=`system_profiler SPDisplaysDataType | grep "Display Serial Number" | awk '{ print $4 }'`
echo "<result>$displaySerNum</result>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.