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


Click here to return to the 'Run System Profiler from the Terminal -- revisited' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Run System Profiler from the Terminal -- revisited
Authored by: Guano_Jim on Oct 24, '03 11:20:15AM
One way would be to pipe it through a grep... e.g

system_profiler | grep "Customer serial number:"

returns something like:

Customer serial number: QT2885K1-P1S-fe12

Which you could then parse any way you like.

[ Reply to This | # ]