Created
August 26, 2025 21:11
-
-
Save gurki/94a0b09dd2defbebee532a2355583649 to your computer and use it in GitHub Desktop.
macos hostid
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
alias hostid="ioreg -rd1 -c IOPlatformExpertDevice | \ | |
awk -F'\"' '/IOPlatformUUID/ {print \$4}' | \ | |
shasum | cut -c1-8" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment