1. 程式人生 > >提示:“bash: ifconfig: command not found”

提示:“bash: ifconfig: command not found”

提示:“bash: ifconfig: command not found”

切換到root使用者下安裝YUM源
[[email protected] /]# yum install net-tools
安裝過程中會提示[[email protected] /]# …(y/n/)
[[email protected] /]# y 安裝即可
[[email protected] /]# netstat 啟動一下
[[email protected] /]# ifconfig
在這裡插入圖片描述