How to Install bash-completion in Ubuntu 18.04

Install bash-completion by entering the following commands in the terminal:

sudo apt update
sudo apt install bash-completion


programmable completion 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.


Version: 1:2.8-1ubuntu1

Section: shells