yum install net-tools 安装这个工具,或者升级写法,使用ip addr show 参考: https://linux.cn/article-3631-1.html 转载于:https://www.cnblogs.com/EasonJim/p/9024820.html