首先发现没有source命令,非常奇怪,google发现是dash命令的问题。$ls -l `which sh`
/bin/sh -> dash$sudo dpkg-reconfigure dash #Select "no" when you're asked
[...]$ls -l `which sh`
/bin/sh -> bash修改之后,发现正常了
原来 bash_completion, .bashrc这些脚本因为不能使用source导致一些功能缺失。
首先发现没有source命令,非常奇怪,google发现是dash命令的问题。$ls -l `which sh`
/bin/sh -> dash$sudo dpkg-reconfigure dash #Select "no" when you're asked
[...]$ls -l `which sh`
/bin/sh -> bash修改之后,发现正常了
原来 bash_completion, .bashrc这些脚本因为不能使用source导致一些功能缺失。
该资源仅限VIP专享下载