linux下载工具--axel

Axel是一个轻量级的多线程下载工具,适用于Linux系统。它支持限速、指定输出文件、搜索镜像等功能,提供简单的进度条显示。相比wget,Axel在某些场景下能实现更快的下载速度。例如,在下载CentOS ISO镜像时,通过`axel -a`命令可以显示简洁的进度条,而`-s`参数可用于限速,`-V`则用于查看版本信息。Axel是提高Linux环境下文件下载效率的一个实用工具。
摘要由CSDN通过智能技术生成

axel下载工具

安装

centos

yum -y install axel

Ubuntu

apt-get install axel

参数

[root@localhost ~]# axel -v
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

Visit http://axel.alioth.debian.org/ to report bugs

常用使用方法

-a 简单进度条显示
-s 限速使用
-v 查看使用参数
-V 查看版本信息

优点

亲测速度更快

[root@localhost ~]# axel -a http://centos.ccns.ncku.edu.tw/centos/8.4.2105/isos/x86_64/CentOS-8.4.2105-x86_64-boot.iso
Initializing download: http://centos.ccns.ncku.edu.tw/centos/8.4.2105/isos/x86_64/CentOS-8.4.2105-x86_64-boot.iso
File size: 758120448 bytes
Opening output file CentOS-8.4.2105-x86_64-boot.iso
Starting download

[  1%] [0            1           2            3           ] [   1.8MB/s] [06:43]^C

Downloaded 6414.1 kilobytes in 3 seconds. (1815.97 KB/s)
[root@localhost ~]# wget http://centos.ccns.ncku.edu.tw/centos/8.4.2105/isos/x86_64/CentOS-8.4.2105-x86_64-boot.iso
--2021-06-05 19:03:43--  http://centos.ccns.ncku.edu.tw/centos/8.4.2105/isos/x86_64/CentOS-8.4.2105-x86_64-boot.iso
Resolving centos.ccns.ncku.edu.tw (centos.ccns.ncku.edu.tw)... 210.71.189.53
Connecting to centos.ccns.ncku.edu.tw (centos.ccns.ncku.edu.tw)|210.71.189.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 758120448 (723M) [application/octet-stream]
Saving to: ‘CentOS-8.4.2105-x86_64-boot.iso.1’

 0% [                                                                                            ] 2,709,824    758KB/s  eta 16m 22s
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值