Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just reinstalled cygwin because I wanted to install Git. But after installation, every time I start cygwin I get this message:

bash: cd: /home/bob: No such file or directory

yao@NY-2B7HVL1 /
$

Before the reinstallation, I just get the "yao@etc /". WHO IS THIS BOB???

share|improve this question

migrated from stackoverflow.com May 29 '12 at 23:21

This question came from our site for professional and enthusiast programmers.

    
Take a look at your /etc/passwd file. Is there an entry for an account named "bob"? –  Keith Thompson May 29 '12 at 22:22
    
@KeithThompson nope, just my name.. –  yao jiang May 29 '12 at 22:29
add comment

1 Answer

Look at your ~/.bashrc file. Perhaps it references /home/bob, or calls a script that does. You can track it down by emptying this file out then adding back chunks a bit at a time.

share|improve this answer
add comment

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.