DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free.
Now, I remember setting tab completion up on apt-get on my old system, but since I'm getting a new hd and such, I decided to reorganize my system. Anyways. Does anyone remember how to do this? It's so much nicer to be able to use tab completion with apt-get.
In Debian, the Bash package comes with a totally awesome collection of customized tab completions. However, they are not turned on by default. To turn them on in a single account, you can put the line "source etc/bash_completion" in your ~.bashrc file, or you can turn them on globally by editing the /etc/bash.bashrc file and uncommenting the relevant lines.
You'll get magic smart tab completion for cd, apt-get, ssh, mplayer, and numerous other programs. You'll wonder how you ever did without it. 'apt-get' tab completion in particular rocks like nothing else. For example, if you type 'apt-get remove x[TAB]' you'll get a complete list of installed packages starting with x. When installing, you'll get a list of available but not yet installed packages. You'll likely not be able to stand using apt-get without tab completion anymore.