axel: 多线程下载
说明
axel插件是基于yum下的一个多线程下载.
安装
在Ubuntu上直接使用apt
安装最新版本.
sudo apt install axel
使用
[root@mvp ~]# axel -h
Usage: axel [options] url1 [url2] [url...]
--max-speed=x -s x Specify maximum speed (bytes per second) //速度限制
--num-connections=x -n x Specify maximum number of connections //连接数
--output=f -o f Specify local output file
--search[=x] -S [x] Search for mirrors and download from x servers
--header=x -H x Add header string
--user-agent=x -U x Set user agent
--no-proxy -N Just don't use any proxy server
--quiet -q Leave stdout alone
--verbose -v More status information
--alternate -a Alternate progress indicator //进度条(交替显示)
--help -h This information
--version -V Version information
其中重要的参数有:
-a
: 显示进度条-n
: 指定连接线程数量, 一般使用10即可, 即-n 10
-s
: 速度限制, 每秒下载的字节数, 限制每秒下载1k, 使用-s 1024
一般使用方法:
axel -a -n 10 http://xxx.com/xxx.deb
最后更新于
这有帮助吗?