[macosx-unix] Re: mac serial number...
George Georgalis
george at galis.org
Wed Dec 5 22:52:49 EST 2007
On Mon, Dec 03, 2007 at 08:02:23PM -0500, Isaac Levy wrote:
> Word All,
>
> On Dec 3, 2007, at 7:25 PM, Brad Schonhorst wrote:
>
>> Sorry for the previous top-post, I'm emailing from my phone ( which is
>> apparently akin to drunk dialing)
>>
>> You may also want to look at the command line version of apple system
>> profiler. You can get all sorts of goodies in addition to serial numbers.
>>
>> IIRC. /usr/sbin/AppleSystemProfiler
>>
>> Brad
>
> Actually, I've not seen that before- I believe the intended utility is:
>
> /usr/sbin/system_profiler
>
Thanks, that't the one I ended up using.
system_profiler SPHardwareDataType | grep Serial
system_profiler SPNetworkDataType | grep -E '(Type|MAC)' | grep -Ev '(DHCP|PPP|Fire| 00:1d:4f)'
pretty hacky but it got me what I needed today.
// George
--
George Georgalis, information system scientist <IXOYE><
More information about the macosx-unix
mailing list