LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   bash autocomplete bug (https://www.linuxquestions.org/questions/linux-software-2/bash-autocomplete-bug-4175486222/)

eeluve 11-29-2013 02:10 AM

bash autocomplete bug
 
Whenever I am trying to autocomplete filename or directory with TAB button, I am getting:
Code:

awk: read error (Is a directory)
Code:

sed: read error /home/ME/.ssh/config: Is a directory
, and nothing happens of course.
I am using bash completion, but don't really think it has something to do with the prob, as long as there is no mention of either awk or sed. I have diffed my .bashrc with .bashrc of the user who doesn't experience such problems. Copied his .profile chowning to me just for the sake of it. Checked /etc/profile, profile.d which contains bash-completion as well. Chowned -R my whole /home/ME, checked that all dir's got X for my user, including this /.ssh/config one which, in turn, is empty and I have no idea why it is being checked, even more I guess the debug messages I get, have absolutely nothing to do with my prob. I have no idea, what else. Please, give an advise. I am more than sure that it has nothing to do with my problem, but it happened the way, that my group id differs from uid. Everything is set correct, talking about these numbers, everywhere tho.

hal8000b 11-29-2013 02:25 AM

What distribution are you using?
In my ~/.ssh I only have known_hosts no config file (this is on Linux Mint).
Have you tried creating a new user, logging out and logging in as new user account?

eeluve 11-29-2013 02:48 AM

Just a joke. Thank you. I removed /.ssh/config, which solved the issue. But do you have an explanation to this?

hal8000b 12-02-2013 02:24 PM

Removing ~/.ssh/config was in some way modified or corrupted.
As to why, I can only guess that you modified some file, or perhaps
had trouble accessing via SSH ?
At least you solved your problem though.


All times are GMT -5. The time now is 02:35 AM.