通过ifconfig命令 # ifconfig -a复制代码 通过查看系统网络设备 # cat /proc/net/dev复制代码 转载于:https://juejin.im/post/59c085256fb9a00a62713003