sudo source /etc/profile 提示找不到source命令
今天修改了/etc/profile,需要用source一下,于是写入命令
sudo source /etc/profile
提示找不到source命令
改成 sudo . /etc/profile
还是找不到命令 .
怒了,用su直接切换到root,再执行
source /etc/profile
这下成了
版权所有,转载请注明出处
http://www.cnblogs.com/read-the-spring-and-autumn-annals-in-night/