码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2018-10-24 22:29:13      阅读:1116      评论:0      收藏:0      [点我收藏+]

标签:https   http   bsp   and   com   修改   csdn   csharp   lin   

修改完 /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

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

标签:https   http   bsp   and   com   修改   csdn   csharp   lin   

原文地址:https://www.cnblogs.com/zhcBlog/p/9845662.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!