Created
March 8, 2022 21:25
-
-
Save henrycunh/6ba88969137a13711f2a145b62a191d5 to your computer and use it in GitHub Desktop.
Get the serial number of a Mac from terminal
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
system_profiler SPHardwareDataType | grep Serial | cut -d':' -f2 | sed 's/ //g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment