wget is a command line download file tool, similar to the IE download in Windows, supports HTTP, HTTPS and FTP protocols, you can use HTTP proxy. We are transferring websites, downloading software, testing speed, etc., and often use this command
Below I will introduce a few wget tips for everyone! Example 1: wget http://www.45it.net/1.zip Explanation: Download the 1.zip file in the zzwsem directory
Example 2: wget -r -np -nd http://www.45it .net/go/
Explanation: Download all files in the go directory on the zzwsem.net website -np does not traverse the parent directory -nd means that the directory structure is not recreated locally.
Example 3: wget -r -x http://www.45it.net
Explanation: This command is a station that recursively downloads all directories and files on this server, all addresses It will be saved. If the target station references other web pages, it will also be saved. The role of -x forces the creation of the exact same directory on the server. Note: You can use the -l number parameter to specify the level of download. For example, if you only download two layers, use -l 2. For example: wget -r -x -l 2 http://www.45it.net Example 4: wget -r -np -nd –accept=zip http://www.45it.net/go/Explanation: wget selection Sex downloads only certain files –accept=zip option, which instructs wget to download only files with the extension zip in the go directory. You can also specify multiple extensions, separated by commas.
Example 5: wget -i xiazai.txt Explanation: This command is a batch download, create a txt directory, write url one line, and then wget will download for you!
Example 6: wget -c -t 100 -T 120 http://www.45it.net/1.zip Explanation: This command is a resume of the breakpoint
-c option The role is to resume the breakpoint. The -t parameter indicates the number of retries (for example, if you need to retry 100 times, then write -t 100. If set to -t 0, it means infinite retry until the connection is successful.) -T parameter indicates timeout waiting time, for example -T 120, indicating that it will time out after waiting for 120 seconds.
It is highly recommended to bookmark this article in case of an alternate!
Ten years ago, Red Hat Enterprise Linux was released, marking the official entry of Linux into enter
1. Lock the redundant self-built account in the systemCheck method:Execute the command#cat /etc/pas
Windows, Linux systems support interface themes, you can easily change your face, and it is not dif
Slightly larger sites are inevitably load balanced, but hardware load balancing is expensive. There
Why is it time to modify the Linux system with the date command?
Linux system centos shutdown and restart command detailed
CCIE technical theory study recommendations
Detailed analysis of kernel module development under Linux operating system
Linux Memory Management Knowledge
Linux system to refresh the motherboard BIOS method
How to use USB storage in a Linux environment
How to add sudo account in CentOS system
Linux rc.local self-starting service
Putty connected to the virtual machine Centos appeared: Network error: Connection refused
What should I do if the shutdown button in the WinXP start menu is missing?
How does Win10 create a desktop shortcut? Win10 two ways to create desktop shortcuts
Windows7 installation self-built hidden partition big secret
Win8 skills: Windows 8.1 system "sliding screen shutdown" is easier
How to completely remove the useless service of Win7 system
Blocking five network functions Let XP system speed and arrogance
Wipe the Windows 7 login interface logo information twice