Linux Terminal Not Auto-completing
Filed Under
Linux at 12th June 2009 20:51 by
Danny
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?
Like this:
Like Loading...
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
Auto-completing,
bash shell,
bashrc,
DOS,
interactive shell,
Linux,
shell,
Terminal,
Ubuntu. Bookmark the
permalink.