Created
May 3, 2021 20:58
-
-
Save henri/f74172fc60738a19e2c92affcc43bdea to your computer and use it in GitHub Desktop.
macOS report Apple machine serial number
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/sbin/ioreg -c IOPlatformExpertDevice | grep IOPlatformSerialNumber | tr -d "\"" | awk -F " = " '{print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment