Re: MAC Address of machine
Re: MAC Address of machine
- Subject: Re: MAC Address of machine
- From: Chilton Webb <email@hidden>
- Date: Mon, 18 Nov 2002 13:56:13 -0600
This works on my machine :)
ifconfig | grep ether | cut -f 2 -d " "
For a quick and dirty solution you could pass the above string to ppipe
And read the output.
And for the sake of people like me, who will forget these things and go
searching the archives frantically a month from now, I should point out
that users of systems with an Airport card will have two MAC addresses,
which the above will address as well ;-)
-Chilton
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.