Linux系统怎么查看网卡的UUID | 您所在的位置:网站首页 › linux网卡的配置文件怎么查看的 › Linux系统怎么查看网卡的UUID |
Linux系统怎么查看网卡的UUID
原创
M四月天 2015-08-29 14:29:40 博主文章分类:Linux ©著作权 文章标签 linux 网卡 UUID 文章分类 运维 ©著作权归作者所有:来自51CTO博客作者M四月天的原创作品,请联系作者获取转载授权,否则将追究法律责任在linux系统下查看网卡的UUID需要nmcli命令,但是该命令系统没有提供。 1、首先要查看哪个软件包提供了该命令 [root@tpp ~]# yum provides "*/nmcli"Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.pubyun.com * extras: ftp.sjtu.edu.cn * updates: mirrors.pubyun.combase/filelists_db | 5.2 MB 00:04extras/filelists_db | 30 kB 00:00updates/filelists_db | 829 kB 00:001:NetworkManager-0.8.1-99.el6.i686 : Network connection manager and user : applicationsRepo : baseMatched from:Filename : /usr/bin/nmcli2、由上面的查看结果,我们知道是NetworkManager,下面我们先安装这个软件包 [root@tpp ~]# yum install -y NetworkManager 3、然后启动服务 [root@tpp ~]# service NetworkManager start 4、查看网卡的UUID [root@tpp ~]# nmcli con 名称 UUID 类型 范围 真实时间戳System eth0 d9a980b8-b4bd-4573-b966-77e0fcdd6205 802-3-ethernet 系统 2015年08月29日 星期六 22时07分43秒 赞 收藏 评论 分享 举报上一篇:Linux语言配置 下一篇:Linux下查看Nginx、Napache、MySQL、PHP的编译参数 |
CopyRight 2018-2019 实验室设备网 版权所有 |