我打开终端后会出现以下行。这是什么意思?
-bash: exort: command not found
答案 0 :(得分:1)
这必须是因为在~/.bash_profile
,~/.profile
等中,有一行代表exort
而不是export
。
使用以下命令在您的主目录中查找:
grep "exort" ~/.*
答案 1 :(得分:1)
我不知道exort
是什么 - 也许是出口拼写错误?要跟踪此错误,您需要检查登录脚本。您可以使用文本编辑器(即vi
)查看相关文件并搜索exort
。我建议查看以下文件(如果存在):
~/.bashrc
~/.bash_profile
~/.profile
/etc/bashrc
/etc/profile
/etc/profile.d/*