Turn: Use of the wget command for Linux common commands

Source: Internet
Author: User

First, Introduction

Linux system download file tool to download files from the specified URL

Ii. Methods of Use

1

2

3

4

5

6

7

8

Syntax: wget [parameters] [URL address]

Options:

-C then download the files that are not finished downloading

-B into background execution after startup

-P Specify download directory

-o Change Download file name

--ftp-user--ftp-password using FTP user authentication download

Parameters: Specified file download URL address

  

Third, the case

1. Download a single file using wget

1

wget http://cn2.php.net/distributions/php-5.6.13.tar.gz


2. Download and save with a different file name 

1

Wget-o php5.6.tar.gz http://cn2.php.net/distributions/php-5.6.13.tar.gz


3. using wget Breakpoint to continue transmission

1

Wget-c http://cn2.php.net/distributions/php-5.6.13.tar.gz

4. using wget background Download

1

Wget-b http://cn2.php.net/distributions/php-5.6.13.tar.gz

Tail-fwget-log #查看文件下载进度

5. download to the specified directory using wget

1

wget Http://cn2.php.net/distributions/php-5.6.13.tar.gz-P download/

  

6. using wget username and password Authentication download

1

wget--ftp-user=ftp_usser_name--ftp-password=user_password ftp_address

Original: https://www.cnblogs.com/pingzhe/p/8134984.html

Turn: Use of the wget command for Linux common commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.