Getting MAC Address on MacOS Using Terminal
To get the MAC Address on a Macbook you can simply call one line command below.
ifconfig en0 | awk '/ether/{print $2}'
aa:bb:cc:dd:ee:ff
Alternative on Getting MAC Address on MacOS From System Preference
For an alternative approach (using GUI) you can follow the steps below.
- Open System Preferences
- Visit Network and press Advanced
- Open the "Hardware" tab and see MAC Adderss
Leave a reply