1

I'm trying to setup cygwin, but it does not work out of the box. Now I cannot use files from my home directory :

$ pwd
/cygdrive/c/Users/jb/test
$ ls
t
$ ls t 
t
$ ls ~/test/t
ls: File or directory "/cygdrive/c/Users/jb/test/t" is not found
$ ls /cygdrive/c/Users/jb/test/t
ls: File or directory "/cygdrive/c/Users/jb/test/t" is not found

Any ideas what is wrong? How is that my home directory is not found even if I'm in it?

4

1 回答 1

0

难道你没有,有任何机会,删除它?尝试

cd ..
cd test

看看它是否有效。

您当前的 shell 可以看到它所在的目录,但它无法“从外部”看到它。

这当然是猜测,但请尝试一下。

于 2014-02-12T12:58:38.127 回答