首页 > 其他 > 详细

rhel7 ifconfig command not found

时间:2017-06-14 17:57:42      阅读:320      评论:0      收藏:0      [点我收藏+]

同事扔过来一个rhel7.2的系统,登录后发现没有安装ifconfig命令:

# ifconfig 
-bash: ifconfig: command not found

  

先看看环境变量:

# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

 

在查看ifconfig命令是否存在:结果没有发现命令

# ls  /sbin/ifconfig

 

安装ifconfig命令:

# yum upgrade
# yum install net-tools

OK!

rhel7 ifconfig command not found

原文:http://www.cnblogs.com/abclife/p/7010024.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!