Download a file with curl on Linux / Unix command line


#1

Originally published at: https://www.cyberciti.biz/faq/download-a-file-with-curl-on-linux-unix-command-line/

I am a new macOS Unix user. I am writing a small bash shell script. How do I download files straight from the command-line interface using curl? How can I download files with cURL on a Linux or Unix-like systems?