wget

从网上下载某个示例文件:

  1. # wget http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4

后台下载文件:

  1. # wget -b http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4

如果互联网连接出现中断,恢复下载。

  1. # wget -c http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4

从某个密码保护的ftp软件库下载文件。

  1. # wget --ftp-user=<user_name> --ftp-password=<Give_password> Download-url-address

curl

  1. curl -o um.mp4 http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4

借助-o选项,提供名称,下载文件会以该名称保存;如使用-O选项,文件就会以原始名称保存。

  1. # curl -O http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4

axel

  1. # axel http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4

指定多线程下载

  1. # axel -n 10 http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4

aria2

  1. # aria2c http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4