-o: command not found

I am trying to download file using curl, but I get the following error message.

-o: command not found

My command was

curl -o 'saveas.smi'

Do I have error with my command?

5

1 Answer

Your command looks OK, but you also need to quote the URL, like so:

curl ' -o 'saveas.smi'
2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like