Bash Auto Completion

Tom H tomh0665 at gmail.com
Mon Jun 7 06:46:58 UTC 2010


On Mon, Jun 7, 2010 at 2:12 AM, Amichai Rotman <amichai at iglu.org.il> wrote:
>
> I am running Ubuntu Lucid on both my desktop and my Asus Netbook. I have
> installed the respective version on each (the Netbook Remix on the Netbook).
> I usually fire up Synaptic Package Manager right after installation and
> updates and go through each category and install the packages I find
> interesting.
> I am not sure what I've installed on the desktop, but now I have the
> functionality of Auto Complete in the console. Say I enter "sudo apt-get in"
> and press the TAB key, it will autocomplete the "install" command.
> Can someone tell me what was it I installed? I would like this functionality
> on the Netbook too...

You have to un-comment the bash_completion if loop in either ~/.bashrc
or /etc/bash.bashrc.




More information about the ubuntu-users mailing list