There are many overlaps between curl and wget basic functions, such as downloads.
Curl on advanced use because you can customize various request parameters so longer than the mock Web request, used to test Web page interaction (browser); wget because it supports FTP and recursive, it is longer than download for downloading files (thunderbolt).
1. Download the file
Curl-o http://man.linuxde.net/text.iso #O大写, no O just print content will not be downloaded
wget http://www.linuxde.net/text.iso #不用参数, download file directly
2. Download the file and rename it
Curl-o Rename.iso Http://man.linuxde.net/text.iso #o小写
wget -o rename. zip http://www.linuxde.net/text.iso #O大写
3. Continuation of the breakpoint
Curl-o-c-url Http://man.linuxde.net/text.iso #C大写
wget -C http://www.linuxde.net/text.iso #c小写
4. Speed Limit Download
Curl--limit-rate 50k-o http://Man.linuxde.net/text.iso
wget--limit-rate=50k http://www.linuxde.net/text.iso
5. Display the response header information
Curl-i http://Man.linuxde.net/text.iso
wget--server-response Http://www.linuxde.net/test.iso
6.wget Weapon--Package download website
wget--mirror-p--convert-links-p/var/www/html http://man.linuxde.net/
Reference:
Http://man.linuxde.net/curl
Http://man.linuxde.net/wget
https://www.zhihu.com/question/19598302
The difference and use of curl and wget