linux无法补全命令的方式
1.安装补全命令
sudo apt-get install bash-completion
2.修改配置文件/etc/profile,添加
sudo vi /etc/profile
/* */
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
3.更行配置文件
source /etc/profile
1.安装补全命令
sudo apt-get install bash-completion
2.修改配置文件/etc/profile,添加
sudo vi /etc/profile
/* */
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
3.更行配置文件
source /etc/profile