How to use the file download command WGET on Ubuntu

Source: Internet
Author: User
Tags custom name
Wget is a free tool for automatically downloading files from the network. It supports HTTP, HTTPS, and FTP protocols. You can use HTTP proxy. The so-called automatic download means that wget can be executed in the background after the user exits the system. WGet example

WgetCommand)

GNUWgetIs a free non-interactive File Download command that supports http, https, and ftp download, of course, can also be downloaded from the http Proxy

WgetYou can also download files in unstable or slow network conditions. If the files are not downloaded due to network problems, it will keep trying to download the file until the download is complete. After the download server recovers, it will notify the resumable download of the file. This is really a good command.

By default, this command is very simple. The basic syntax is as follows:

  • Wget [option] [URL]

The following information is displayed when a download is available:

  1. Download completion score ratio
  2. Downloaded size
  3. Download speed
  4. The remaining quantity is not downloaded.
Use Wget to download a single file

The following command will explain how to use the wget command to download a single file from the network speed or under the current file directory

  • Wget http://releases.ubuntu.com/14.04/ubuntu-14.04-desktop-amd64.iso
When downloading wget, save the file as a custom name.
  • Wget-O [Preferred_Name] [URL]
  • Wget-O ubuntu_amd64.iso http://releases.ubuntu.com/14.04/ubuntu-14.04-desktop-amd64.iso
Restrict the download speed of Wget
  • Wget-limit-rate = [VALUE] [URL]
  • Wget-limit-rate = 80 kHttp://releases.ubuntu.com/14.04/ubuntu-14.04-desktop-amd64.iso
Wget background download
  • Wget-B [URL]
  • Tail-f wget-log

Wget Reference Links:

  1. Lintut Wget tutorial
  2. Ubuntu Wget Man Page
Related Article

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.