Closed. This question is off-topic。它当前不接受答案。
                            
                        
                    
                
                            
                                
                
                        
                            
                        
                    
                        
                            想改善这个问题吗? Update the question,所以它是on-topic,用于堆栈溢出。
                        
                        上个月关闭。
                                                                                            
                
        
我在华硕A450L笔记本电脑上安装了katoolin,但是当我输入“ katolin”时,我得到了:

root@ridz-X450LD:/home/ridz# git clone https://github.com/LionSec/katoolin.git
fatal: destination path 'katoolin' already exists and is not an empty directory.
root@ridz-X450LD:/home/ridz# sudo cp katoolin/katoolin.py /usr/bin/katoolin
root@ridz-X450LD:/home/ridz# sudo chmod +x /usr/bin/katoolin
root@ridz-X450LD:/home/ridz# sudo katoolin
sudo: unable to execute /usr/bin/katoolin: No such file or directory
root@ridz-X450LD:/home/ridz#


我不知道为什么?有人帮忙吗?

最佳答案

尝试将katoolin移动到/ home / $ USER / bin(如果需要,请创建文件夹)中,然后将其添加到.bashrc

if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi


打开一个新的终端,它应该可以工作!

关于linux - 为什么无法在Ubuntu中执行katoolin? ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/58233259/

10-14 14:32