Find MAC address with ip link show command in LinuxĪnother way to find MAC address in Linux is using “ ip link show” command. We can also use ifconfig command to troubleshoot network issues. This command is available on most Unix-like operating systems, including Linux and macOS. The “ifconfig” command is a command-line utility that is used to display information about your network interfaces. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 This command will list all the network interfaces on your Linux system and their Ip address, MTU size, etc. 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. 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. This command will display useful information about your network interfaces, including the MAC address.į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 procedure to check MAC address in Linux is as follows: 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. This is your device’s MAC address.ĭo visit on live chat support if you have any further queries for the eZee Optimus.How to list MAC address on Linux is a commonly asked question during a Linux job interview. In most cases, you can follow this procedure to locate your MAC address:Ī WiFi Address or WiFi MAC Address displays. This is your device’s MAC address.Ī Wi-Fi Address displays. Select Apple Icon > System Preferences > Network > Advanced.Ī WiFi Address or Airport Address displays.This is your computer’s Ethernet MAC address. Under Ethernet adapter Wireless Network Connection, a Physical Address displays. In the command prompt, type ipconfig /all.The physical address is your device’s MAC address.
Click Windows Start or press the Windows key.Ī physical address displays for each adapter.You can block or allow service to a specific device if you know its MAC address. If your computer has multiple network adapters (for example, an Ethernet adapter and a wireless adapter), each adapter has its own MAC address. Every device connected to your home network has a unique MAC address.