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:Apple Hardware Test / Apple Diagnosticsapt-get command refmysql - logging in from command linebash - df to get space usage by volumeffmpeg on OSX with hardware enabled encodingformat drive OSX command lineLinux Terminal - hardware sensor readout temp - Ubuntumoreutils: the utilities package every…bash: process each line as result of command using IFS=