I ran a command to download something with curl
–
sudo curl roots.cx/get | sh
– and it threw a permission denied error. So I did sudo curl
and I got the same error … why is that?
I was able to run the install command without curl
, but I needed to sudo
, so why does curl
not work with sudo
?
sudo curl roots.cx/get | sh