İlgili network aracının mac adresini almak

networksetup -getmacaddress en0 | awk '{print $3}'

ya da, Ahmet Alp Balkan’dan;

networksetup -getmacaddress en0 | grep -io '\([a-e0-9:]\+\)\{6\}'