Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I get a weird message on my shell when I try to type the command below and pressing the tab key

cd /home/

What i get is shown below:

cd /ho-sh: <( compgen -d -- '/ho' ): No such file or directory

I don't know why I get this message on my screen.

Did I break something on the server, that I can't be able to use the tab key?

Thanks

share|improve this question

1 Answer 1

I have found the problem. It was due to my login using the wrong shell. So modified my /etc/passwd file by using the command

chsh -s /bin/bash username

:)

share|improve this answer

Your Answer

 
discard

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.