Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'ioreg - SSH' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
ioreg - SSH
Authored by: mtalbot on Jan 19, '07 11:26:17PM
To return the serial number without the quote marks, set the field separator (-F '"') in the last awk command...
ioreg -c "IOPlatformExpertDevice" | awk -F '"' '/IOPlatformSerialNumber/ {print $4}'


[ Reply to This | # ]