sudo rm -rf /usr/local/bin/curl*
type curl
hash -d curl

curl就可以正常使用了
root@amlogic:~# sudo rm -rf /usr/local/bin/curl*
root@amlogic:~# curl
-bash: /usr/local/bin/curl: No such file or directory
root@amlogic:~# type curl
curl is hashed (/usr/local/bin/curl)
root@amlogic:~# hash -d curl
root@amlogic:~# curl
curl: try 'curl --help' or 'curl --manual' for more information

标签: curl

添加新评论