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:bash: process each line as result of command using IFS=Linux Terminal - hardware drive info - Ubuntubash - du to get space used by directoryFlight infoOSX - get UID listApple Hardware Test / Apple Diagnosticsbash - OSX Mac Processor CPU DetailsExcel (mac) move between cells vs. move sheetInstall OSX Command Line Tools without using the GUI