{"id":215612,"date":"2020-11-15T12:05:22","date_gmt":"2020-11-15T04:05:22","guid":{"rendered":"http:\/\/4563.org\/?p=215612"},"modified":"2020-11-15T12:05:22","modified_gmt":"2020-11-15T04:05:22","slug":"%e5%85%b3%e4%ba%8e-linux-curl-%e5%91%bd%e4%bb%a4%e5%8f%82%e6%95%b0","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=215612","title":{"rendered":"\u5173\u4e8e Linux curl \u547d\u4ee4\u53c2\u6570"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5173\u4e8e Linux curl \u547d\u4ee4\u53c2\u6570               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <span><i><\/i> 4<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<pre><code>Usage: curl [options...] &lt;url&gt;      --abstract-unix-socket &lt;path&gt; Connect via abstract Unix domain socket      --alt-svc &lt;file name&gt; Enable alt-svc with this cache file      --anyauth       Pick any authentication method  -a, --append        Append to target file when uploading      --basic         Use HTTP Basic Authentication      --cacert &lt;file&gt; CA certificate to verify peer against      --capath &lt;dir&gt;  CA directory to verify peer against  -E, --cert &lt;certificate[:password]&gt; Client certificate file and password      --cert-status   Verify the status of the server certificate      --cert-type &lt;type&gt; Certificate file type (DER\/PEM\/ENG)      --ciphers &lt;list of ciphers&gt; SSL ciphers to use      --compressed    Request compressed response      --compressed-ssh Enable SSH compression  -K, --config &lt;file&gt; Read config from a file      --connect-timeout &lt;seconds&gt; Maximum time allowed for connection      --connect-to &lt;HOST1:PORT1:HOST2:PORT2&gt; Connect to host  -C, --continue-at &lt;offset&gt; Resumed transfer offset <\/code><\/pre>\n<p>\u6bd4\u5982<code>-a<\/code> \u540e\u9762\u6709\u5f88\u591a\u4e2a<code>--axxxxx<\/code> \u662f\u8868\u793a\u5982\u679c\u53ea\u5199<code>-a<\/code> \u5c31\u9ed8\u8ba4\u662f\u540e\u9762\u521a\u597d\u6b63\u5bf9\u7684\u90a3\u4e2a<code>--append<\/code> \u5417<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4383302\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : IgniteWhite <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u662f\u7684\uff0c\u53ea\u6709\u540c\u4e00\u884c\u91cc\u5bf9\u5e94\u7684\u53ef\u4ee5\u7528-a \u7b80\u5199\u3002<\/p>\n<p>\u5efa\u8bae\u7cfb\u7edf\u4e86\u89e3\u4e00\u4e0b man \u547d\u4ee4\uff0c\u5b83\u9ed8\u8ba4\u7684 pager \u662f less\uff0c\u5982\u4f55\u4f7f\u7528 less \u5feb\u901f\u8df3\u8f6c\u548c\u641c\u7d22\u3002\u5176\u4ed6\u5f88\u591a\u7cfb\u7edf\u547d\u4ee4\uff0c\u6bd4\u5982 systemctl \u548c journalctl\uff0c\u7528\u7684 pager \u4e5f\u662f less\uff0c\u6240\u4ee5\u5b66\u4f1a\u4f7f\u7528\u548c\u914d\u7f6e less \u5c31\u53ef\u4ee5\u4e00\u52b3\u6c38\u9038\u5566                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4383303\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @IgniteWhite \u591a\u8c22 \u5b66\u5230\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4383304\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : julyclyde <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4ec0\u4e48\u53eb\u201c\u5f88\u591a\u4e2a&#8211;axxxxx\u201d\uff1f<br \/>-a \u53ea\u5bf9\u5e94&#8211;append \u8fd9\u4e00\u4e2a<br \/>\u548c\u540e\u8fb9&#8211;basic \u6ca1\u6709\u4efb\u4f55\u5173\u7cfb                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5173\u4e8e Linux curl \u547d\u4ee4\u53c2&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/215612"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=215612"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/215612\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=215612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=215612"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=215612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}