标签:lsb 网卡 bsp grep code col highlight bash div
cat /sys/class/net/[^vtlsb]*/address
exsi机器
esxcfg-vmknic -l|awk ‘{print $8}‘|grep ‘:‘
通用
cat /sys/class/net/[^vtlsb]*/address ||esxcfg-vmknic -l|awk ‘{print $8}‘|grep ‘:‘
标签:lsb 网卡 bsp grep code col highlight bash div
原文地址:https://www.cnblogs.com/majianyu/p/12697590.html