0

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

-bash: exort: command not found 
4

2 回答 2

1

这一定是因为在你的~/.bash_profile,~/.profile等中有一行说exort而不是export.

在您的主目录中查找它:

grep "exort" ~/.*
于 2013-11-12T15:02:35.783 回答
1

我不知道是什么exort——也许是 export 的拼写错误?要追踪此错误,您需要检查您的登录脚本。您可以使用文本编辑器(即vi)查看有问题的文件并搜索exort. 我建议查看以下文件(如果存在):

~/.bashrc
~/.bash_profile
~/.profile
/etc/bashrc
/etc/profile
/etc/profile.d/*
于 2013-11-12T15:08:01.823 回答