CLI shortcuts, 3

Getting the NIC's MAC address:


ifconfig ethx | awk '/HWaddr/ {print $NF}'

To enumerate all MAC addresses, just replace ethx with -a.

Comments

Popular posts from this blog

Pull files off Android phone