Linux执行source /etc/profile报错“:command not found”

修改完 /etc/profile中的内容后,执行“立即生效”命令 “source /etc/profile”报错:

:command not found

:command not found

:command not found

解决方法:

执行如下命令(两种方式):

1.  locate source /etc/profile  (亲测可用)

2.  usr/bin/source /etc/profile

 

参考:https://blog.csdn.net/zhangminemail/article/details/63683391

posted on 2018-10-24 19:42  zhcgis  阅读(7194)  评论(0编辑  收藏  举报

导航