linux中wget命令
1、基本用法
wget https://s3.amazonaws.com/plink1-assets/plink_linux_x86_64_20220402.zip
2、指定下载目录
wget -P /home/test2/ https://s3.amazonaws.com/plink1-assets/plink_linux_x86_64_20220402.zip ## 下载之/home/test2目录
3、修改下载文件的名称
root@PC1:/home/test# ls root@PC1:/home/test# wget -O xx.tar.gz https://s3.amazonaws.com/plink1-assets/plink_linux_x86_64_20220402.zip ## 指定名称为xx.tar.gz
4、静默输出
wget -q https://s3.amazonaws.com/plink1-assets/plink_linux_x86_64_20220402.zip ## -q 静默输出
5、断点续传
wget -c https://s3.amazonaws.com/plink1-assets/plink_linux_x86_64_20220402.zip ## -c 断点续传