Recommended command line download tool for Linux download Tool

Source: Internet
Author: User

We recommend that you use the command line download tool. The command line tool is not only easy to use, but also has a high download speed and download efficiency. It is especially suitable for downloading files in large batches. The following describes the Linux download tools Wget and Prozilla.

Wget

Linux download tool Wget is a very common command line download tool. Most Linux releases contain this tool by default. If no installation is available, download the latest version from the relevant website and run the following command to compile and install it:
 

 
 
  1. #tar zxvf wget-1.9.1.tar.gz  
  2. #cd wget-1.9.1  
  3. #./configure  
  4. #make  
  5. #make install 


It is easy to use. The Wget format of the Linux download tool is as follows:
# Wget [Option] [] 1. Common Wget Parameters
◆-B: download files in the background. Wget downloads files to the current directory by default.
◆-O: download the file to the specified directory.
◆-P: create a directory with the specified name before saving the file.
◆-T: number of attempts to connect. How many attempts will be made when Wget cannot establish a connection with the server.
◆-C: resumable upload. If the download is interrupted, the download starts from the last breakpoint when the connection is restored.

In addition to the common functions described above, Wget also supports HTTP and FTP Proxy functions. You can edit the configuration file "/etc/wgetrc.
The specific method is to use the VI editor to open the above file, remove the # Before "http_proxy" and "ftp_proxoy", and then enter the address of the corresponding proxy server after the two items, save and exit.
In addition, Wget can download the entire website, such as the entire Man manual center.
Run the following command:
# Wget-r-p-np-k where
◆ The-r parameter indicates recursive download,
◆-P refers to downloading all files, slices, etc. required to display the complete webpage,
◆-Np indicates that the upper-level directory is not searched,
◆-K indicates converting an absolute link to a relative link.

Prozilla

The Linux download tool Prozilla is also a popular command line download tool that supports multi-thread download and resumable upload.
You can download the latest 1.3.7.4 installation package and run the following command to install it:
 

 
 
  1. #tar zxvf prozilla-1.3.7.4.tar.gz  
  2. #cd prozilla-1.3.7.4  
  3. #./configure  
  4. #make  
  5. #make install 

The Command Format of Linux download tool Prozilla is as follows:
# Proz [parameters] [] common options include:
◆-K = n: set n threads for download. If this parameter is not added, the number of threads is specified. Prozilla is downloaded by 4 threads by default.
◆-P,-directory-prefix = DIR: Specifies to save the downloaded file to the DIR/directory.
◆-R,-resume: Continue to download unfinished files.
If you want to specify the number of threads to download, the following command is available:
# Proz-k = 5 BR> in this way, the file is downloaded in five threads and saved to the current directory.
Like Wget, Prozilla also provides the Resume function. After the download is interrupted, re-enter the preceding command, and a message indicating the resume is displayed. Press the R key to continue the download.

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.