打开终端时出错

时间:2013-11-12 14:59:33

标签: unix terminal

我打开终端后会出现以下行。这是什么意思?

-bash: exort: command not found 

2 个答案:

答案 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/*