錯誤:command not found

出現錯誤:
Command 'ls' is available in '/bin/ls'
The command could not be located because '/bin' is not included in the PATH environment variable.
ls: command not found
原因是設置環境變量的時候寫錯了~
在設置的時候沒有包含原路徑

顯示環境變量:
echo $PATH

裏面沒有/bin/

把它添加進去就就好了~~

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章