现象:在ubuntu终端按tab键没自动补全文件名称,按上下键不能自动切换旧命令
原因:ls -l `which sh` 提示/bin/sh -> dash,这说明是用dash来进行解析的
修复:命令行执行:dpkg-reconfigure dash,在界面中选择no。
注意:记得重启服务或者终端
现象:在ubuntu终端按tab键没自动补全文件名称,按上下键不能自动切换旧命令
原因:ls -l `which sh` 提示/bin/sh -> dash,这说明是用dash来进行解析的
修复:命令行执行:dpkg-reconfigure dash,在界面中选择no。
注意:记得重启服务或者终端