manas@manas-Aspire-E5-575G:~$ sudo git clone https://github.com/LionSec/katoolin.git && cp katoolin/katoolin.py /usr/bin/katoolin
[sudo] password for manas:
fatal: destination path 'katoolin' already exists and is not an empty directory.
manas@manas-Aspire-E5-575G:~$ cd /usr/bin/
manas@manas-Aspire-E5-575G:/usr/bin$ rm -R katoolin
rm: cannot remove 'katoolin': No such file or directory
manas@manas-Aspire-E5-575G:/usr/bin$
您首先会看到,它显示 /usr/bin/katoolin 已存在,但当我尝试删除它时,它显示没有此目录。“ls -la /usr/bin/katoolin”的输出
manas@manas-Aspire-E5-575G:~$ ls -la /usr/bin/katoolin
ls: cannot access '/usr/bin/katoolin': No such file or directory
manas@manas-Aspire-E5-575G:~$
答案1
简短回答
导致投诉的不是最后一条命令,而是第一部分。您之前一定已经克隆了 repo,并且它存在于您的主目录中。:)