command auto completion does not work

General support questions
Post Reply
rameshbolaram
Posts: 6
Joined: 2015/04/04 13:57:39

command auto completion does not work

Post by rameshbolaram » 2015/06/08 13:02:13

In CentOS7 "MINIMAL" version, command auto completion doesn't work as in "SERVER WITH GUI"

Is this how it is build or need to install any software to get this to work?
Requesting experts suggestion on how to fix this.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: command auto completion does not work

Post by TrevorH » 2015/06/08 14:15:26

Perhaps you need to install the bash-completion package?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

rameshbolaram
Posts: 6
Joined: 2015/04/04 13:57:39

Re: command auto completion does not work

Post by rameshbolaram » 2015/06/11 15:22:03

Thanks for the info, installed the pkg now only few limited commands are getting completed on press TAB TAB, whereas in the "GUI" installation of CentOS options are also displayed.

ex:
minimal + completion pkg
systemc TAB TAB = systemctl TAB TAB - but not further options like start, restart, stop, status ..............

GUI
systemc TAB TAB = systemctl TAB TAB here the options are displayed

seems like few more pkgs or dependencies are needed to be installed to get the complete feature experience of auto completion.

linuxnewb
Posts: 52
Joined: 2015/03/10 08:48:41

Re: command auto completion does not work

Post by linuxnewb » 2017/07/25 10:34:15

Old thread but the problem and solution remain the same.

In CentOS 7 there are two packages you need. It seems the OP was missing bash-completion-extras, now available from epel.

Code: Select all

$ sudo yum -y install bash-completion bash-completion-extras

Post Reply