The wget
command is used to download files from the specified URL
. It is very stable, supports HTTP
, HTTPS
, FTP
and other network protocols, and also supports proxies.
Syntax format: wget [parameter]
Common parameters:
Example
# 下载文件wget https://xugaoxiang.com/package.zip # 下载,保存为test.zip wget -O test.zip https://xugaoxiang.com/package.zip # 断点续传wget -c -O test.zip https://xugaoxiang.com/package.zip
This article is reprinted from https://xugaoxiang.com/2022/06/11/linux-cmds-40-wget/
This site is for inclusion only, and the copyright belongs to the original author.