作者:里 | 来源:互联网 | 2017-06-17 12:43
在Linux下,在网络没有配置好前,如何查看网卡的MAC地址?使用dmesg与grep命令来实际,如下:[plain]viewplaincopy[root@localhost~]#dmesg|grep 
在Linux下,在网络没有配置好前,如何查看网卡的MAC地址?
使用 dmesg 与 grep 命令来实际,如下:
-
[root@localhost ~]# dmesg | grep eth
-
e1000 0000:02:01.0: eth0: (PCI:66MHz:32-bit) 00:0c:29:5b:f7:c2
-
e1000 0000:02:01.0: eth0: Intel(R) PRO/1000 Network Connection