ifconfig:command not found的解決方法

執行ifconfig提示command not found。網上搜到了解決方法,以下:command

1.肯定ifconfig所在目錄:whereis ifconfig方法

2.查看PATH中是否包含目錄路徑:echo $PATHco

3.將指定路徑加入PATH中:export PATH=$PATH:/sbinconfig

注:以上操做需以超級管理員身份進行。管理

相關文章
相關標籤/搜索