Thursday, 20 August 2015

How to enable bash-completion in ubuntu 14.04

1. You need to reinstall bash-completion by using below command
learning@learning:~/Desktop$ sudo apt-get install –reinstall bash-completion
2. Now you need to write it in .bashrc file like below given at very last line
learning@learning:~/Desktop$ sudo vim /root/.bashrc
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
 
Article Source - http://www.rhce.co.in/how-to-enable-bash-completion-in-ubuntu-14-04/

No comments:

Post a Comment