Bash Completion Problem with sudo on Ubuntu VPS

Posted by gokdemir on Server Fault See other posts from Server Fault or by gokdemir
Published on 2010-05-13T15:52:50Z Indexed on 2010/05/13 15:55 UTC
Read the original article Hit count: 319

Filed under:
|
|

I have a VPS from Linode. I deployed Ubuntu 10.04 server. I added a user and put it sudoers file. when I write as a user

apti <TAB>

it comletes with tab to

aptitude <TAB>

but when I continue to

aptitude upd <TAB>

it didnt complete but on my desktop it works great. Even worse if I try same command with sudo

sudo apti <TAB>

does not work I checked .basrc and /etc/bash.basrc completion is commented out so what is wrong. By the way when I root it works

© Server Fault or respective owner

Related posts about bash

Related posts about vps