执行 source /etc/profile命令时,报错:-bash: #: 未找到命令
问题描述:CentOS 执行 source /etc/profile命令时,报错:-bash: #: 未找到命令[root@localhost ~]# source /etc/profilebash: unse: 未找到命令...问题原因:/etc/profile文件内容错误,如下修改/etc/profile文件内容将unse tMAILCHECK修改为unset MAILCHECK后保存,运行命令可正常执行;此问题多数情况是/etc/profile文件内容错误导致,耐心检查找到错误位置即
原创
2021-01-26 16:31:48 ·
13276 阅读 ·
4 评论