解决方法: yum install -y bash-completion 退出当前界面,重新进入即可。 转载于:https://www.cnblogs.com/hz-cww/p/9018030.html