service restart
Peter Garrett
peter.garrett at optusnet.com.au
Fri Jul 28 09:44:43 UTC 2006
On Fri, 28 Jul 2006 17:22:17 +1000
erik at dd.nec.com.au (Erik Christiansen) wrote:
[snip]
> Since command completion is working for you, it looks like you're using
> a privileged account, rather than sudo
Actually, command completion will work with sudo. Just edit the file
~/.bashrc and uncomment the lines immediately below
# enable programmable completion ....
So that they look like:
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
Alternatively, enable this system-wide by editing /etc/bash.bashrc . The
lines are identical in that file. ( You don't need or want to do this in
both files - one or the other will do the trick)
Peter
More information about the ubuntu-users
mailing list