

This command will list MAC address, IP address, MTU size and other information about a network interface. The number next to ether is the MAC address. All we need is to open the terminal then type ifconfig -a in the prompt. The best Linux command to find MAC address is using ifconfig command. Related: Step by Step to troubleshoot a network issue in Linux Find MAC address with ifconfig command in Linux However, it is possible to change the MAC address of a device. MAC addresses are usually assigned by the manufacturer of the network adapter. This allows for better security and more efficient networking. The MAC address can also be found in the BIOS of the computer or device.Ī MAC address can be used to uniquely identify a device on a network. The MAC address is usually printed on the card itself. 00:1B:44:11:3A:B7 is an example of a MAC address. The MAC address consists of six sets of two characters, each separated by a colon. MAC stands for Media Access Control, and each identifier is intended to be unique to a particular device. The output will display the MAC address for all the network interfaces.įrom Wikipedia, A MAC address is the unique identifier that is assigned by the manufacturer to a piece of network hardware (like a wireless card or an ethernet card).Type ifconfig -a or ip link show or cat /sys/class/net/*/address command.The following commands can get you the MAC address of your network interface in Linux. These commands are safe to run without changing anything. Here are some methods to get the MAC address.

How to list MAC address on Linux is a commonly asked question during a Linux job interview.

5 useful Linux network troubleshooting commands.This article is part of the following series.
