Glad to see you made a post.
This is by request from somebody on #remote-exploit.
By default, Debian derivatives don't tab complete "apt-get install [package]" as root. I can't figure out why this is the default behavior; tab completion works fine as other users, but only the root user can actually install the packages... Whatever.
To get this working on BT4 (and Debian/Ubuntu), simply run this command as root in Konsole/gnome-terminal/etc.:
This simply adds a check to add the file "/etc/bash_completion" to your .bashrc. The bash_completion file has scripts to handle tab completion on on apt-get, aptitude, and assorted other things.Code:echo " if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi" >> ~/.bashrc
Close your console, open it back up, and enjoy tab completion.
Glad to see you made a post.
Why can't we have more first posts like this???![]()
Of course, if you really wanted to have some fun, go to Wal-Mart late at night and ask the greeter if they could help you find trashbags, roll of carpet, rope, quicklime, clorox and a shovel. See if they give you any strange looks. --Streaker69
the code is already in the .bashrc file at the bottom, it's just commented out. But, I do agree with Barry, nice first post.
Very cool. thanks!
I felt like bending the bars back, and ripping out the window frames and eating them. yes, eating them! Leaping, leaping, leaping! Colonics for everyone! All right! You dumb*sses. I'm a mental patient. I'm *supposed* to act out!