1、下载bash-completion 补全工具 yum install bash-completion -y 2、重启CentOS或者断开重连Xshll或者其他远程连接工具 reboot init 6