MulaiMulai sekarang secara gratis

Downloading single file using curl

Let's get some hands on practice for the more commonly used options and flags with curl. The URL for the hosted file is a shortened URL using tinyurl. Because of that, we need to fill out a flag option that allows for redirected URLs.

Latihan ini adalah bagian dari kursus

Data Processing in Shell

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Use curl to download the file from the redirected URL
curl ___ https://assets.datacamp.com/production/repositories/4180/datasets/eb1d6a36fa3039e4e00064797e1a1600d267b135/201812SpotifyData.zip
Edit dan Jalankan Kode