Get the App
SLTechnology News&Howtos  ›  Servers  › 

How does linux query mac addresses

Shulou Source: shulou.com Published: 2022-05-31 10:47:36 10月07日 Update

This article introduces the relevant knowledge of "how to query the mac address of linux". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Linux query mac address method: 1, open the system, right-click on the desktop, select "Open Terminal"; 2, in the terminal, execute the "ifconfig" command to view the output results, in the fourth line of the output information, the string followed by the word "ether" is the mac address.

The operating environment of this tutorial: Ubuntu 18.04 system, Dell G3 computer.

The MAC address is the unique identification of the network card carried by the computer in the network, and the MAC address of each network card is unique. Then how to query the mac address under Linux? The following article introduces you to the method of querying mac address.

Methods and steps:

1. Open the system, right-click on the desktop and select "Open Terminal".

2. In the terminal, execute the "ifconfig" command

Looking at the output, the string immediately after the word "ether" in the fourth line of the output is the mac address.

This is the end of the content of "how to query the mac address of linux". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Address query output terminal method system information content word command character string namely article more desktop knowledge result network card mouse Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Technology MariaDB Shulou Information Xiaomi