git 表示目录存在且不为空,但 Cd 目录返回未找到命令

-6 command-line git

我在 raspberry 上安装 wifiphisher 时遇到问题

root@raspberrypi:/home/pi# git clone
https://github.com/wifiphisher/wifiphisher.git fatal: destination path
'wifiphisher' already exists and is not an empty directory.
root@raspberrypi:/home/pi# Cd wifiphisher bash: Cd: command not found
Run Code Online (Sandbox Code Playgroud)

我是树莓派和 wifiphisher 的新手。我有树莓派 3

vid*_*rlo 7

首先,它说wifiphisher不是空目录,因此拒绝将数据复制到其中。

接下来你运行Cd wifiphisher,你得到错误Cd: command not found

Unix(和 Linux)区分大小写。更改目录的命令是cd,而不是Cd

因此,cd wifiphisher应该工作。

  • 不,我是说您应该阅读并尝试理解出现的错误消息。 (8认同)