How do I find the MAC address in Unix?

How do I find the MAC address in Unix?
Answer
Linux
  1. As the root user (or user with appropriate permissions)
  2. Type “ifconfig -a”
  3. From the displayed information, find eth0 (this is the default first Ethernet adapter)
  4. Locate the number next to the HWaddr. This is your MAC address.
 

Tìm kiếm

Back
Top