使用 wget 下载单个文件
现在来动手练习一下这些选项标志,正是它们让 wget 成为备受欢迎的文件下载工具。
本练习是课程的一部分
Shell 中的数据处理
练习说明
- 填写用于续传部分下载的选项标志。
- 填写用于在后台执行下载的选项标志。
- 预览下载日志文件
交互式实操练习
通过完成这段示例代码来试试这个练习。
# Fill in the two option flags
wget ___ ___ https://assets.datacamp.com/production/repositories/4180/datasets/eb1d6a36fa3039e4e00064797e1a1600d267b135/201812SpotifyData.zip
# Verify that the Spotify file has been downloaded
ls
# Preview the log file
cat ___