Back to the learning path

curl

curl = client URL (also read "see URL") Command details
Step 1/4: Download a file

curl URL prints the response to the screen. -o NAME saves it to a file, -O uses the name in the URL, -s hides the progress, -L follows redirects.

$ curl -O http://web01/files/report.txt
Fundamentalscurlnetwork
Download a file from a website
The internal website web01 has the file http://web01/files/data.csv. Download it into the current directory, keeping the name data.csv.

This exercise needs real Linux

The commands it uses (processes, networking and more) are not in the simulator. Switch to real Linux and the exercise runs in a real Linux system inside your browser.

nslookupNext lesson:wget