xshell連接Linux系統;Linux系統ifconfig命令command not found的解決辦法!——Linux的學習之路

在安裝好xshell後啓動會提示連接 首先進入Linux系統打開終端輸入 ifconfig 此時發現提示: bash:ifconfig:conmmand not found 然後輸入echo $PATH 發現沒有/sbin 此時我們需要將ifconfig命令配置到環境變量 如下操作:root權限下運行 vi /etc/profile 在末尾添加:PATH= $PATH:/sbin export P
相關文章
相關標籤/搜索