美文网首页
终端命令打开出现报错 -bash: Export: comman

终端命令打开出现报错 -bash: Export: comman

作者: 百年成说 | 来源:发表于2020-02-18 15:31 被阅读0次

报错如下图  -bash: Export: command not found

这个是由于修改的bash_profile文件引起的;

解决方案:

1、打开文件 $open ~/.bash_profile

2、检查并修改bash_profile文件内容

3、然后保存生效 $source .bash_profile

4、关闭终端重新开启就OK了

相关文章

网友评论

      本文标题:终端命令打开出现报错 -bash: Export: comman

      本文链接:https://www.haomeiwen.com/subject/davgfhtx.html