Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

This question already has an answer here:

When I use "cd" command to move to certain directory in terminal, I press Tab button to autocomplete the directory name, and a "/" sign appends at the end. But, when I use some other command (say "mv"), clicking on Tab button to autocomplete the directory name, autocompletes the directory name, but does not append "/" after it, but a space. So, I have to manually delete the space by pressing Backspace button and type "/". But, in my friend's laptop, it does not occur. Whichever command he uses, he always gets "/" after presing Tab button to autocomplete the directory name. Please tell how to solve this problem. I have freshly installed 12.04 LTS version.

See the screenshot here:

share|improve this question

marked as duplicate by Seth Feb 27 '14 at 17:57

This question was marked as an exact duplicate of an existing question.

I am not concerned with the file. The directory is there, pressing Tab button is autocompleting the correct directory name, but the problem is that at last it is not appending "/", but a space. – Sandeep Feb 23 '14 at 15:01

I have got the solution to my problem at this link: Tab autocomplete in terminal is not behaving properly. Now, my problem is solved. Thanks to all for giving suggestions.

share|improve this answer

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