码迷,mamicode.com
首页 > 其他好文 > 详细

bash: ipconfig: command not found

时间:2019-01-29 00:29:25      阅读:234      评论:0      收藏:0      [点我收藏+]

标签:host   work   eth0   pts   bash   sysconfig   man   bsp   reboot   

问题描述:

[root@localhost ~]# ipconfig
-bash: ipconfig: command not found
[root@localhost ~]#

 

 

解决方法一:

cd /etc/sysconfig/network-scripts 

vi ifcfg-eth0 (你的可能是eth1,或者其他,不是每个电脑都是这个的)设置ONBOOT=yes

:wq

reboot 

 

bash: ipconfig: command not found

标签:host   work   eth0   pts   bash   sysconfig   man   bsp   reboot   

原文地址:https://www.cnblogs.com/wongandy/p/10332269.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!