CentOS 7 press the tab key can not automatically complete the solution

In CentOS6, pressing the tab key can auto-completion, but when CentOS7 is minimally installed, there is no auto-completion package installed, and a package needs to be installed to solve  bash-completion.
1. Check if the bash-completion package is installed on the system.

2. Find it on yum


Three, yum install bash-completion package

yum -y install bash-completion


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325447687&siteId=291194637