The NMCLI command is required to view the UUID of the NIC under the Linux system, but the command system is not available.
1, first to see which package provides the command
[email protected] ~]# Yum provides "*/NMCLI"
Loaded Plugins:fastestmirror
Loading mirror speeds from cached hostfile
* base:mirrors.pubyun.com
* extras:ftp.sjtu.edu.cn
* updates:mirrors.pubyun.com
base/filelists_db | 5.2 MB 00:04
extras/filelists_db | KB 00:00
updates/filelists_db | 829 KB 00:00
1:networkmanager-0.8.1-99.el6.i686: Network Connection Manager and user
: Applications
Repo:base
Matched from:
Filename:/USR/BIN/NMCLI
2, by the above view results, we know is NetworkManager, below we first install this package
[email protected] ~]# Yum install-y NetworkManager
3. Then start the service
[[Email protected] ~]# service NetworkManager start
4. Check the UUID of the network card
[[email protected] ~]# nmcli con
Name UUID type range Real time stamp
System eth0 d9a980b8-b4bd-4573-b966-77e0fcdd6205 802-3-ethernet Systems August 29, 2015 Saturday 22:07 43 seconds
How Linux systems View the UUID of a network card