Created
December 4, 2024 13:35
-
-
Save rtrouton/410d6876ae897057a1bc90244e0cc3a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
username@computername ~ % /usr/sbin/networksetup -getmacaddress $(/usr/sbin/networksetup -listallhardwareports | awk '/Hardware Port: Wi-Fi/{getline; print $2}') | awk '{print $3}' | |
6c:ce:2e:d3:6b:bd | |
username@computername ~ % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment