Hi !

you should use locate or which command to see if there is directory mistake (usually bin are located into /usr/bin so you may need to call your command with /usr/bin/curl , ...)