curl
发送 HTTP 请求并获取响应,支持多种协议和认证方式。
$ curl https://example.com/file.zip
示例
# 下载文件 curl -o output.zip https://example.com/file.zip # 使用远程文件名 curl -LO https://example.com/archive.tar.gz # 断点续传 curl -C - -o file.zip https://example.com/file.zip # 限制速度 curl --limit-rate 1M -O https://example.com/large.iso