Linux curl命令下载显示时间/速度/大小

命令:

curl -# -O --compressed -w "大小: %{size_download} bytes\n时间: %{time_total} seconds\n速度: %{speed_download} B/s\n" 下载URL链接。

例子:

curl -# -O --compressed -w "大小: %{size_download} bytes\n时间: %{time_total} seconds\n速度: %{speed_download} B/s\n" http://speedtest.singapore.linode.com/garbage.php?r=0.7374250946333232

猜你喜欢

转载自blog.csdn.net/liulilittle/article/details/143459194