Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux looks at UUID and MAC addresses

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

I. rlel 6 version

Check the Nic UUID:

Nmcli con list

Check the mac address of the network card:

Nmcli dev list

II. Rlel 7 version

Check the Nic UUID:

Nmcli con show

Check the mac address of the network card:

Nmcli dev show

Note: show is for version 7; list is for version 6

If you don't remember how to use nmcli, you can use nmcli-- help to see how this command is used, as well as for other commands.

Related file location:

/ etc/sysconfig/network-scripts/ifcfg-eth0

/ etc/udev/rules.d/70-persistent-net.rules

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report