Linux - How to find mac address, Find mac address in linux machine

How to find mac address


 # ifconfig | awk '/^eth0/'
the above command will print the Mac address as

OUTPUT:
eth0      Link encap:Ethernet  HWaddr 00:12:B1:57:AB:52

Command to get the mac address of a machine
# ifconfig | awk '/^eth0/ {print $5}'

  OUTPUT:
  00:12:B1:57:AB:52

The topic on Linux - How to find mac address is posted by - Math

Hope you have enjoyed, Linux - How to find mac addressThanks for your time

Tech Bluff