最小化安装时,按tab键无法自动补全命令,因为少安装了bash-completion包

[root@test220 ~]# rpm -ivh /mnt/Packages/bash-completion-2.1-6.el7.noarch.rpm 


安装完成后,按tab键可以自动补全命令了