Linux : how to find your Mac Address ?

you can make finding the MAC address even easier by parsing the ifconfig command’s output with the grep command, like this:

ifconfig | grep HWaddr

This will only bring up the line of ifconfig’s output with the MAC address.

Example :

[email protected]<3r$ ifconfig | grep HWaddr
eth0           Link encap:Ethernet   HWaddr 00:22:19:e5:b3:81
vmnet1       Link encap:Ethernet   HWaddr 00:50:56:c0:00:06
vmnet8       Link encap:Ethernet   HWaddr 00:50:56:c0:00:07
wlan0         Link encap:Ethernet   HWaddr 00:2f:6a:2e:ce:2d

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.