Linux Command Line download tool introduction and usage (1)

Source: Internet
Author: User

We recommend that you use the linux Command Line download tool. Linux Command Line download tool is not only easy to use, but also has a high download speed and download efficiency, especially suitable for large volumes of download files. The following describes the linux Command Line download tool in detail.

Wget is a commonly used tool for downloading linux Command lines. Most Linux versions include this tool by default. If no installation is available, download the latest version at http://www.gnu.org/software/wget/wget.htmland use the following command to compile and install it:

# Tar zxvf wget-1.9.1.tar.gz

# Cd wget-1.9.1 #./configure

# Make install

It is easy to use. The Wget format is as follows: # wget [Option] [] 1. Common Wget parameters ◆-B: Background download. 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 site, such as downloading the entire Man manual center of the http://man.chinaunix.net. Enter the following command: # wget-r-p-np-k http://man.chinaunix.net where the-r parameter refers to recursive download, -p Refers to downloading all files, slices, and other files required to display the complete web page.-np refers to not searching the upper-level directory, and-k refers to converting absolute links into relative links.

Prozilla is also a popular linux Command Line download tool that supports multi-thread download and resumable upload. To allow:

# Tar zxvf prozilla-1.3.7.4.tar.gz

# Cd prozilla-1.3.7.4

#./Configure # make

# Make install

The Prozilla command format is as follows: # proz [parameter] [] common options include: ◆-k = n: set n threads to 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. To download a file with a specified number of threads, run the following command: # proz-k = 5 http: // 64.12.204.21/pub/threads to download the file with five threads, and save the file 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.

MyGet is designed as an extensible multi-threaded linux Command Line download tool with rich interfaces. It supports HTTP, FTP, HTTPS, MMS, RTSP, and other protocols. In:

# Tar jxvf myget-0.1.0.tar.bz2

# Cd myget-0.1.0 #./configure

# Make

# Make install

The MyGet command format is as follows: # mytget [Options] [] common options: ◆-d [Directory]: Specifies the location where the downloaded file is stored locally. The default directory is the current one. ◆-F [file]: Specifies the name of the downloaded file. ◆-H: Help options. ◆-N [number of threads]: Number of download threads. The default value is 4. ◆-X [proxy server address]: sets the proxy server address, for example, "-x http: // user: password @ host: port ". MyGet commonly used form: # mytget-d/root/-n 10 http://lumaqq.linuxsir.org/download/patch/lumaqq_2004t_patch_2005.07.21.00.00.zip

Linuxdown is a linux Command Line multi-thread download tool that supports up to 30 threads. In. Run the following command for compilation and installation:

# Tar zxvf linuxdown-1.1.0.tar.gz

# Cd dandelion/

# Make

# Make install


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.