我一打开终端就会出现以下行。这是什么意思?
-bash: exort: command not found
这一定是因为在你的~/.bash_profile
,~/.profile
等中有一行说exort
而不是export
.
在您的主目录中查找它:
grep "exort" ~/.*
我不知道是什么exort
——也许是 export 的拼写错误?要追踪此错误,您需要检查您的登录脚本。您可以使用文本编辑器(即vi
)查看有问题的文件并搜索exort
. 我建议查看以下文件(如果存在):
~/.bashrc
~/.bash_profile
~/.profile
/etc/bashrc
/etc/profile
/etc/profile.d/*