sudo: source: command not found
sudo: source: command not found
分析
source 命令用于执行被修改的配置文件,使最新配置更新到操作系统
通常有如下命令
source ~/.profile
source ~/.bash_profile
source /etc/profile
解决
vim ~/.bash_profile
在.bash_profile文件里面输入
export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin
本文链接:https://www.choudalao.com/article/301
转载请注明来源,感谢尊重原创内容。
留言评论
支持表情、回复和点赞。评论需要先登录。