How to check the MAC address in Ubuntu?
To view the MAC address on Ubuntu, you can follow these steps:
- Open the Terminal application.
- Enter the following command in the terminal:
ifconfig
- You will see a list containing network interface information. Locate the network interface for which you want to view the MAC address (usually eth0 or wlan0).
- Locate the line with the name “ether” in the information of the network interface, followed by a sequence of hexadecimal numbers and letters. This is the MAC address of the network interface.
You can also use the following command to check the MAC address:
ip link show
Both of these commands can assist you in viewing the MAC addresses of various network interfaces on an Ubuntu system.