linux -bash: ipconfig: command not found ????????????
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux -bash: ipconfig: command not found ????????????相关的知识,希望对你有一定的参考价值。
?????????-bash ?????? localhost path cal lin ros unset net
????????? ipconfig: command not found
[[email protected] root]# ipconfig
-bash: ipconfig: command not found
?????????
1????????????CentOS5.5??????ipconfig???????????????????????????ipconfig??????????????????????????????
2??????????????????echo $PATH?????????/sbin????????????????????????PATH???
[[email protected] network-scripts]# echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/ #???/sbin????????????
3???????????????????????? ??????vi /etc/profile ?????????????????????????????? ???
PATH=$PATH:/sbin
export PATH=$PATH:/sbin
??????:wq!??????????????????
[[email protected] boot]# vim /etc/profile ??? ??? ??? ??? unset i unset pathmunge PATH=$PATH:/sbin export PATH=$PATH:/sbin "/etc/profile" 60L, 1071C
[[email protected] boot]#???wq
4??????????????????source /etc/profile,???????????????????????????
?????????ifconfig?????????????????????????????????
以上是关于linux -bash: ipconfig: command not found ????????????的主要内容,如果未能解决你的问题,请参考以下文章