將原先的bash_profile中的PATH環(huán)境變量中的$PATH刪除了,然后執(zhí)行source ~/.bash_profile之后就出現(xiàn)了錯誤,每次打開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所有的命令都不能正常執(zhí)行了,類似:top、ifconfig都會顯示:-bash: top: command not found
- 2 回答
- 0 關注
- 211 瀏覽