Skip to content

Downloading files with cURL command

Find out how to download files using curl command in terminal. Curl command helps to access a URL directly from the command-line in Linux. cURL which stands for Client URL is a command-line tool for transferring data using various network protocols.

In some scenarios, we might want to download a file from a URL and save it to a file.

Using curl we can do it. The syntax for this would be:

curl http://your.url --output your.file

Let’s say I would like to download a file from a url and save it to a zip file with name, I can do it with the following command.

curl --output
See also  Update all packages in Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.