Find The MAC Address On A Ubuntu 10.04 Lucid Lynx System

The thing about modern graphical operating systems is that finding the MAC address of the computer’s network adapter is often quite counter-intuitive. Fortunately, the command line makes it easy. To find the MAC address on a Ubuntu system, use this command at the command line prompt:


This will bring up a great deal of information about the network interfaces on your Ubuntu system. If your computer has only one Ethernet adapter, it will show up as eth0. The adapter’s MAC address will be the line labeled HWaddr. However, 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.


This entry was posted in Linux. Bookmark the permalink.