return mac address without colons?

Anyone know some quick code under bash to return the primary Mac Address (en0, in this case) as a string without the colons?

Example: Mac Address of "00:11:d3:f5:g6:h6"

Returns as:
0011d3f5g6h6

Thanks,
jeremy

Many different systems..., Mac OS X (10.4.6)

Posted on Jun 21, 2006 6:24 AM

Reply
6 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

return mac address without colons?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.