Root! Root! Root!
senectus at gmail.com
Tue Mar 15 01:45:40 UTC 2005
n Tue, 15 Mar 2005 12:35:07 +1100, Cameron Hutchison
<camh+ubuntu at xdna.net> wrote:
> Once upon a time Senectus . said...
> > On Mon, 14 Mar 2005 20:21:17 -0500, Xian <ulist at gs1.ubuntuforums.org> wrote:
> > >
> > > Try this from a normal terminal session:
> > >
> > > # sudo passwd
> > >
> > I have to say, one of the biggest reasons I don't like using sudo is
> > that tab completion for bin files doesn't work..
> > ie
> > sudo apt-g then hit the tab key will not complete the command.
> > unlike running the following as root:
> > apt-g then hit the tab key...
> If you source /etc/bash_completion from your .bash_profile or .bashrc,
> the completion will work for sudo commands (and many other things. eg.
> try apt-get in<tab> and it will complete "install". apt-get remove <tab>
> will complete on all installed packets, etc).
Is there some sort of a "howto" on doing this?
and just out of interest, why isn't this setup by default.. it seems
illogical to me to not take advantage of this.
Ubuntu Warty 4.10 (desktop)
and Hoary 5.04 (Laptop) (kernel 2.6.10-25 686)
More information about the ubuntu-users