Root! Root! Root!
Cameron Hutchison
camh+ubuntu at xdna.net
Tue Mar 15 01:35:07 UTC 2005
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).
More information about the ubuntu-users
mailing list