[英]Whenever I open my terminal, I get the error -bash: export: `=': not a valid identifier in ubuntu
Whenever I open my terminal, I get the error-bash: export: `=': not a valid identifier in ubuntu每当我打开终端时,我都会收到错误 bash: export: `=': not a valid identifier in ubuntu
Check your ./bash_profile file and see if there are any white spaces around the = sign.检查您的./bash_profile文件并查看=符号周围是否有空格。 Remove them as in the example below
如下例所示删除它们
foo = bar
Would become:会成为:
foo=bar
To edit this file I wouldn't recommend a normal text editor as this can use improper quote characters, use an editor like Atom.要编辑此文件,我不推荐使用普通文本编辑器,因为这可能会使用不正确的引号字符,请使用 Atom 之类的编辑器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.