將原先的bash_profile中的PATH環境變量中的$PATH刪除了,然后執行source ~/.bash_profile之后就出現了錯誤,每次打開Terminal都顯示:-bash: grep: command not found-bash: grep: command not foundenv: bash: No such file or directoryenv: bash: No such file or directoryenv: bash: No such file or directoryenv: bash: No such file or directoryenv: bash: No such file or directory-bash: grep: command not found-bash: cat: command not found-bash: grep: command not found-bash: grep: command not found-bash: grep: command not found-bash: grep: command not found所有的命令都不能正常執行了,類似:top、ifconfig都會顯示:-bash: top: command not found
- 2 回答
- 0 關注
- 190 瀏覽
添加回答
舉報
0/150
提交
取消