将原先的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 关注
- 151 浏览
添加回答
举报
0/150
提交
取消