Home > System Tutorial > LINUX > Solve the problem that CentOS7's Tab key cannot complete commands

Solve the problem that CentOS7's Tab key cannot complete commands

WBOY
Release: 2024-01-17 13:30:13
forward
1518 people have browsed it

I was doing an experiment on centOS today and found that the customary tab key completion method used under Ubuntu could not be used. So I was very curious. After searching for information and testing it myself, I recorded the feasible solution as follows:

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

# yum install bash-completion//You can also use wildcards to install: yum install bash-c*

Or you can install some initialization package groups

yum -y groupinstall Base Compatibility libraries Debugging Tools Dial-up Networking support Hardware monitoring utilities Performance Tools Development tools

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

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

yum upgrade

3) If the above two commands still don’t work, you can restart the machine or log in again

Since I used scureCRT during the experiment, I chose to use the login command to log in again, and then sudo -i to enter root mode, you can use the tab completion command

login//Re-login

The above is the detailed content of Solve the problem that CentOS7's Tab key cannot complete commands. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template