Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Wget and Prozilla in Linux

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to use Wget and Prozilla in Linux, which has a certain reference value, and interested friends can refer to it. I hope you will gain a lot after reading this article.

Wget

The Linux download tool Wget is a very common command line download tool, which is included by default in most Linux distributions. If it is not installed, you can download the * version from the relevant website and compile and install it using the following command:

# tar zxvf wget-1.9.1.tar.gz

# cd wget-1.9.1

#. / configure

# make

# make install

Its usage is simple, and the format of the Linux download tool Wget is as follows:

# wget [options] [download address] Common parameters of 1.Wget

◆-b: download in the background. Wget downloads files to the current directory by default.

◆-O: downloads the file to the specified directory.

◆-P: create a directory with the specified name before saving the file.

◆-t: the number of attempts to connect, and the number of attempts when Wget cannot establish a connection with the server.

◆-c: the breakpoint resumes. If the download is interrupted, the download will start from the last breakpoint when the connection is restored.

In addition to the above common functions, Wget also supports HTTP and FTP proxy functions, and edit its 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 these two items, and save and exit.

In addition, Wget can download the entire website, such as the entire Man manual center.

Simply enter the following command:

# wget-r-p-np-k of which

The ◆-r parameter refers to using recursive downloads

◆-p refers to downloading all the files needed to display the full web page, such as pictures, etc.

◆-np means not searching upper-level directories

◆-k refers to the conversion of absolute links to relative links.

Prozilla

Linux download tool Prozilla is also a very popular command line download tool, which supports multi-thread download and breakpoint resume function.

You can download the 1.3.7.4 installation package of * *. After downloading the installation package, use the following command to install:

# tar zxvf prozilla-1.3.7.4.tar.gz

# cd prozilla-1.3.7.4

#. / configure

# make

# make install

The format of the Linux download tool Prozilla command is as follows:

# proz [parameters] [download address] Common options are:

◆-k download n: set n threads to download. Do not add this parameter to specify the number of threads, Prozilla defaults to 4-thread download.

◆-P,-directory-prefix=DIR: specifies that the downloaded file will be saved in the DIR/ directory.

◆-r,-resume: continue downloading unfinished files.

If you want to specify the number of threads to download, you can use the following command:

# proz-Know5 BR > this downloads the file with 5 threads and saves the file to the current directory.

Like Wget, Prozilla also provides a resume function. If you re-enter the above command after the download is interrupted, you will be prompted to resume the download and press the R key to continue the download.

Thank you for reading this article carefully. I hope the article "how to use Wget and Prozilla in Linux" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report