How to download files using curl on Linux operating systems

System administrators sometimes need a quick solution to patch-and-go so they can proceed to more important tasks. This is the short article explaining how we can download files using curl on Linux based operating systems from remote locations.


OS Version: Ubuntu Os 18.04.3 (LTS) x64
curl Version: 7.58.0 (x86_64-pc-linux-gnu)

Curl is by default a part of the Linux systems and available upon installation fo the operating system. This makes it very convenient as there are no additional installations required:

bluegrid-edu:~# curl -o /var/www/html/

This is the example for getting the latest WordPress version and placing it into the document root directory.

Share this post

Share this link via

Or copy link