1、首先更新下系统: sudo apt-get update sudo apt-get dist-upgrude 复制代码 2、bash自动补全[原系统不支持补全] sudo apt-get install bash-completion 复制代码 然后修改配置文件 sudo vim /etc/bash.bashrc 把 #if [ -f /etc/bash_completion ]; then