1. auto completion
修改/etc/bash.bashrc或者~/.bashrc。去掉bash completion的注释。
# enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . /etc/bash_completion fi
2. command not found
sudo apt-get install command-not-found
这样再输入命令时,如果命令或软件没有安装,会提示是不是相关的命令。然后可以按照提示的名字用apt-get install.