AP DS TECH Get MAC hardware info from OS-X terminal (command line) ~~ June 14, 2017 Hardware Overview: 1system_profiler SPHardwareDataType | awk '/Serial/ {print $4}' 1system_profiler SPHardwareDataType 1ioreg -l | grep IOPlatformSerialNumber Hard drive info: 1system_profiler SPSerialATADataType Related Posts:mysql - logging in from command lineOSX - get UID listbash - OSX Mac Processor CPU Detailsapt-get command refformat drive OSX command lineOS-X - secure erase free space at command lineApple Hardware Test / Apple Diagnosticsbash - du to get space used by directoryOSX system volume (sound) GET / SET via Terminal / bash