当我执行 ls 时,我看到“builds01”目录,当我在该目录上“cd builds01”时,我得到以下错误,知道为什么我在一个存在的目录下出现以下错误/s
<user:/prj/com/builds>ls -la
total 8
dr-xr-xr-x 3 root root 4096 2013-05-29 00:53 .
dr-xr-xr-x 4 root root 4096 2013-05-29 00:53 ..
drwxr-xr-x 2 root root 0 2013-05-29 00:53 builds01
<user:/prj/qca/builds>cd builds01/
-bash: cd: builds01/: No such file or directory
最佳答案
我曾经遇到过这样的问题。这可能是在挂载点上而不是真正的目录。另一种可能性是在以某种方式创建的目录名称之前可能有空格。
尝试执行:cd\builds01
或什至 cd “builds01”
看看是否可行。
如果所有其他方法都失败,请尝试使用诸如 filezilla 或 winscp 之类的东西并导航到该路径。
关于linux - cd 不在目录上工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17057151/