Knowledge Base

An archive of my personal knowledge base.

Install bash-completion package on Linux

Cristian Sulea
programmable completion (autocomplete) for the bash shell

bash-completion extends bash's standard completion behavior to achieve complex command lines with just a few keystrokes. This project was conceived to produce programmable completion routines for the most common Linux/UNIX commands, reducing the amount of typing sysadmins and programmers need to do on a daily basis.

The programmable completion feature in Bash permits typing a partial command, then pressing the [Tab] key to auto-complete the command sequence. If multiple completions are possible, then [Tab] lists them all.

Ubuntu / Debian

apt-get install bash-completion


yum install bash-completion


Share on Twitter