$ sysctl -n machdep.cpu.brand_string
Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
$ sysctl -n hw.model
MacBookPro14,2
$ ioreg -l | awk '/IOPlatformSerialNumber/ { split($0, line, "\""); printf("%s\n", line[4]); }'
C02VG13CHV2M
Created
November 12, 2017 06:20
-
-
Save ChristopherA/404155c49ea0df3d37938efe592299b8 to your computer and use it in GitHub Desktop.
Mac Model, CPU & Serial from Command Line
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment