Under Linux (CentOS), the TAB key cannot be used to complete the resolution of the command

Source: Internet
Author: User

Today, in the CentOS experiment, found that before the use of Ubuntu under the comparison of the more accustomed to the use of the tab to complete the command can not be used, so very curious, after looking for information and personally tested, the possible solutions are recorded as follows:

1) First, you need to run the following command in the terminal:

# Yum Install bash-completion//can also be installed with wildcard characters: Yum install bash-c*

2) If the above command does not work, you can try the following command

Yum Upgrade

3) If the above two commands are still not working, you can restart the machine or log in again

Since I was experimenting with scurecrt, I chose to log back in using the login command, and then sudo-i into root mode, and you can use the TAB completion command

login//Re-Login

This article is from the "Coder Life Change" blog, make sure to keep this source http://spencergra.blog.51cto.com/9609512/1923220

Under Linux (CentOS), the TAB key cannot be used to complete the resolution of the command

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.