红联Linux门户
Linux帮助

Linux下强大的Axel下载工具

发布时间:2014-06-08 16:18:54来源:红联作者:velcbo
Linux下经常用的下载软件有wget,wget是单线程下载,断点不能续传,Axel工具是linux下的http/ftp中强大下载工具,支持多线程下载和断点续下。

这里介绍Alex的安装。和简单使用。

常用的选项:

[root@station106 ~]# 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(指定HTTP 头字串)

--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 --alternate -a Alternate progress indicator(用不刷屏的下载进度条)

--help -h This information 查看帮助信息

--version -V Version information查看版本信息。

wget -c http://pkgs.repoforge.org/axel/axel-2.4-1.el5.rf.x86_64.rpm下载

安装rpm -ivh axel-2.4-1.el5.rf.x86_64.rpm

使用案列

axel -n 3 ftp://172.16.0.1/pub/Sources/6.x86_64/nginx/nginx-release-CentOS-6-0.el6.ngx.noarch.rpm

作者:shunzi
文章评论

共有 0 条评论