• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MAC Address of machine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Close button on Single Window Utilities
  • Next by Date: Re: Table View Blues
  • Previous by thread: Re: NSFormatter what table am I in ??
  • Next by thread: Re: MAC Address of machine
  • Index(es):
    • Date
    • Thread