关于linux:如何检查mac地址

linux 最罕用的查看mac地址的形式 有很多种,上面给出4种形式,

ifconfig 这是最罕用的形式

ip link show

cat /sys/class/net/eth0/address 查看eth0的mac地址

dmesg | grep eth0

how to check mac address in Linux
how to check ip address in Linux

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理