Ubuntu系统Tab键补全方法

【Ubuntu系统Tab键补全方法】著论准过秦,作赋拟子虚。这篇文章主要讲述Ubuntu系统Tab键补全方法相关的知识,希望能为你提供帮助。
1.修改/etc/bash.bashrc文件

vim /etc/bash.bashrc

2.将下面的注释#去掉
#if ! shopt -oq posix; then #if [-f/usr/share/bash-completion/bash_completion ]; then #. /usr/share/bash-completion/bash_completion #elif [ -f /etc/bash_completion]; then #. /etc/bash_completion #fi #fi

3.source一下 /etc/bash.bashrc
source /etc/bash.bashrc


    推荐阅读