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:apt-get command refInstall OSX Command Line Tools without using the GUILinux Terminal - hardware drive info - Ubuntubash: process each line as result of command using IFS=Ubuntu - get the currently installed version infoLinux Terminal - hardware sensor readout temp - Ubuntubash - OSX Mac Processor CPU Detailsbash - df to get space usage by volumeCMUS - command line music player