LINUX - how to find MAC address


Find mac address in linux machine

how to find MAC address

LINUX - 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 this LINUX - how to find MAC address . Thanks for your time.