Linux - How to get all mac address, Hardware or Ethernet Address

How to get all mac address

The below command will help you to get all the mac or Ethernet address

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

The ifconfig command is used to get the system IP address and MAC address.

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

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

Tech Bluff