Downloading Files
Explore how to download files from web servers using the curl command and extract downloaded archives with unzip. Understand checking for installed commands, creating directories, and managing downloaded content through the command line.
We'll cover the following...
We'll cover the following...
The curl command lets us download documents from web servers to our machine, just like a browser would. And the unzip command will let us unzip the archives we downloaded.
Setting up cURL
First, check to see if curl is installed.
$ which curl
The
whichcommand locates executable files associated with a particular command, which indicates to the user whether or not the package associated with the command is installed or not.
If the result is blank, we install ...