I'll end here before Christmas with referring you to Debian-Administration's introduction to bash completion. Enjoy.
You can find Part 1 here.
You can find Part 2 here.
One of the nicest facilities of the modern shell is the built in “completion” support. These facilities allow you to complete commands and their arguments easily