bash: ipconfig: command not found

问题描述:

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

解决方法一:

cd /etc/sysconfig/network-scripts 

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

:wq

reboot 

猜你喜欢

转载自www.cnblogs.com/wongandy/p/10332269.html