CLI shortcuts, 3
Getting the NIC’s MAC address:
ifconfig ethx | awk '/HWaddr/ {print $5}'
To enumerate all MAC addresses, just replace ethx with -a.
Read more:
Work, play, and everything in-between.
Getting the NIC’s MAC address:
ifconfig ethx | awk '/HWaddr/ {print $5}'
To enumerate all MAC addresses, just replace ethx with -a.
Read more: