Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When using autocompletion it reveals web sites and file names.

So if i type scp goo and then type the Tab key it displays  google-earth-stable_current_amd64.deb

The question is, where does it get these web sites from in the autocomplation process. I know the file is obviously a file in my directory, but where are the web sites coming from?

PS: I have uninstalled Zeitgeist if that matters

share|improve this question
up vote 1 down vote accepted

It got it from names of files in current directory, /etc/hosts file, ~/.ssh/config file and ~/.ssh/known_hosts file.

Check the script /usr/share/bash-completion/completions/scp from package bash-completion.

share|improve this answer
Thanks, I had an entry of and was wondering where it came from, now I know, the host file, I have a host block file with all of the bogus sites so they don't come up. – Meer Borg May 10 '13 at 22:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.