Linux Terminal Not Auto-completing

in the terminal is one of the most useful features in command line. Both DOS and Linux support autocomplete with the key . This is when you type part of the command or file name and press tab to complete the rest. This feature is called interactive shell in the Bash shell.

In ubuntu Bash shell I found it was turned off. Edit the file /etc/bash.bashrc and uncomment or add the following lines:

if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi

Save the file and reload or close and re-open any terminals.

How do I fix bash autocomplete?

About Danny

I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog. Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school. View all posts by Danny → This entry was posted in Linux and tagged , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *.

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.