ifconfig提示command not found

新安装虚拟机或者重新设置了网卡的配置虚拟机需要上网

习惯性的敲了ifconfig,结果提示command not found

此时输入命令        ip addr  就可以了

原因是ifconfig命令被ip addr命令替代了

如果想使用ifconfig,需要:yum install net-tools 即可

发布了106 篇原创文章 · 获赞 11 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/object_oriented_/article/details/96285057