linux 命令行获取网卡名

Lenix at 
ip -4 -o a | cut -d ' ' -f 2,7 | cut -d '/' -f 1 | awk '$1 != "lo" {print $1}' |awk '$1 != "docker0" {print $1}'…The post linux 命令行获取网卡名 first appeared on Lenix Blog.……