{"id":3885,"date":"2019-07-27T00:03:30","date_gmt":"2019-07-26T16:03:30","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3885"},"modified":"2022-05-11T18:44:26","modified_gmt":"2022-05-11T10:44:26","slug":"wget","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/wget","title":{"rendered":"wget\u547d\u4ee4 – \u4e0b\u8f7d\u7f51\u7edc\u6587\u4ef6"},"content":{"rendered":"\n
wget\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dweb get\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u4ece\u6307\u5b9a\u7f51\u5740\u4e0b\u8f7d\u7f51\u7edc\u6587\u4ef6\u3002wget\u547d\u4ee4\u975e\u5e38\u7a33\u5b9a\uff0c\u4e00\u822c\u5373\u4fbf\u7f51\u7edc\u6ce2\u52a8\u4e5f\u4e0d\u4f1a\u5bfc\u81f4\u4e0b\u8f7d\u5931\u8d25\uff0c\u800c\u662f\u4e0d\u65ad\u7684\u5c1d\u8bd5\u91cd\u8fde\uff0c\u76f4\u81f3\u6574\u4e2a\u6587\u4ef6\u4e0b\u8f7d\u5b8c\u6bd5\u3002<\/p>\n\n\n\n
wget\u547d\u4ee4\u652f\u6301\u5982HTTP\u3001HTTPS\u3001FTP\u7b49\u5e38\u89c1\u534f\u8bae\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u76f4\u63a5\u4e0b\u8f7d\u7f51\u7edc\u6587\u4ef6\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> wget [\u53c2\u6570] \u7f51\u5740<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u4e0b\u8f7d\u6307\u5b9a\u7684\u7f51\u7edc\u6587\u4ef6\uff1a<\/p>\n\n\n\n \u4e0b\u8f7d\u6307\u5b9a\u7684\u7f51\u7edc\u6587\u4ef6\uff0c\u5e76\u5b9a\u4e49\u4fdd\u5b58\u5728\u672c\u5730\u7684\u6587\u4ef6\u540d\u79f0\uff1a<\/p>\n\n\n\n \u4e0b\u8f7d\u6307\u5b9a\u7684\u7f51\u7edc\u6587\u4ef6\uff0c\u9650\u901f\u6700\u9ad8\u6bcf\u79d2300k\uff1a<\/p>\n\n\n\n \u542f\u7528\u65ad\u70b9\u7eed\u4f20\u6280\u672f\u4e0b\u8f7d\u6307\u5b9a\u7684\u7f51\u7edc\u6587\u4ef6\uff1a<\/p>\n\n\n\n \u4e0b\u8f7d\u6307\u5b9a\u7684\u7f51\u7edc\u6587\u4ef6\uff0c\u5c06\u4efb\u52a1\u653e\u81f3\u540e\u53f0\u6267\u884c\uff1a<\/p>\n\n\n\n wget\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dweb get\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u4ece\u6307\u5b9a\u7f51\u5740\u4e0b\u8f7d\u7f51\u7edc\u6587\u4ef6\u3002wget\u547d\u4ee4\u975e\u5e38\u7a33\u5b9a\uff0c […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3885"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3885"}],"version-history":[{"count":8,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3885\/revisions"}],"predecessor-version":[{"id":9538,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3885\/revisions\/9538"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-V<\/td> \u663e\u793a\u7248\u672c\u4fe1\u606f<\/td><\/tr> -h <\/td> \u663e\u793a\u5e2e\u52a9\u4fe1\u606f<\/td><\/tr> -b<\/td> \u542f\u52a8\u540e\u8f6c\u5165\u540e\u53f0\u6267\u884c<\/td><\/tr> -c<\/td> \u652f\u6301\u65ad\u70b9\u7eed\u4f20<\/td><\/tr> -O<\/td> \u5b9a\u4e49\u672c\u5730\u6587\u4ef6\u540d<\/td><\/tr> -e <\u547d\u4ee4><\/td> \u6267\u884c\u6307\u5b9a\u7684\u547d\u4ee4<\/td><\/tr> --limit-rate=<\u901f\u7387><\/td> \u9650\u5236\u4e0b\u8f7d\u901f\u5ea6<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxprobe ~]# wget https:\/\/www.linuxprobe.com\/docs\/LinuxProbe.pdf<\/strong>\r\n--2022-05-11 18:36:42-- https:\/\/www.linuxprobe.com\/docs\/LinuxProbe.pdf\r\nResolving www.linuxprobe.com (www.linuxprobe.com)... 58.218.215.124\r\nConnecting to www.linuxprobe.com (www.linuxprobe.com)|58.218.215.124|:443... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 17676281 (17M) [application\/pdf]\r\nSaving to: \u2018LinuxProbe.pdf\u2019\r\n\r\nLinuxProbe.pdf 100%[=================================>] 16.86M 30.0MB\/s in 0.6s \r\n\r\n2022-05-11 18:36:42 (30.0 MB\/s) - \u2018LinuxProbe.pdf\u2019 saved [17676281\/17676281]\r<\/pre>\n\n\n\n
[root@linuxcool ~]# wget -O Book.pdf https:\/\/www.linuxprobe.com\/docs\/LinuxProbe.pdf<\/strong><\/pre>\n\n\n\n
[root@linuxcool ~]# wget --limit-rate=300k https:\/\/www.linuxprobe.com\/docs\/LinuxProbe.pdf<\/strong><\/pre>\n\n\n\n
[root@linuxcool ~]# wget -c https:\/\/www.linuxprobe.com\/docs\/LinuxProbe.pdf<\/strong><\/pre>\n\n\n\n
[root@linuxcool ~]# wget -b https:\/\/www.linuxprobe.com\/docs\/LinuxProbe.pdf<\/strong>\nContinuing in background, pid 237616.\r\nOutput will be written to \u2018wget-log\u2019.\r<\/pre>\n","protected":false},"excerpt":{"rendered":"