Nowadays it is unimaginable using shell without auto completion, yum and apt-get tool is different from each other.

when using yum:

yum install bash_completion
echo "source /etc/bash_completion" >>/etc/bashrc

when using apt-get

sudo apt-get install bash_completion
vim /etc/bash.rc

go to the bash_completion line and remove the comment notation there.



Published

16 January 2015

Category

operation

Tags