{"id":1007,"date":"2014-07-22T10:35:54","date_gmt":"2014-07-22T02:35:54","guid":{"rendered":"https:\/\/cowman-chiang.no-ip.org\/wordpress\/?p=1007"},"modified":"2019-06-20T10:24:42","modified_gmt":"2019-06-20T02:24:42","slug":"%e5%8f%96%e5%be%97%e7%b6%b2%e8%b7%af%e6%99%82%e9%96%93-%e9%9d%9e%e6%9b%b4%e6%96%b0%e7%b3%bb%e7%b5%b1%e6%99%82%e9%96%93","status":"publish","type":"post","link":"https:\/\/cowmanchiang.me\/wp\/?p=1007","title":{"rendered":"\u53d6\u5f97\u7db2\u8def\u6642\u9593 (\u975e\u66f4\u65b0\u7cfb\u7d71\u6642\u9593)"},"content":{"rendered":"<p>Source: <a href=\"http:\/\/superuser.com\/questions\/635020\/how-to-know-current-time-from-internet-from-command-line-in-linux\" title=\"How to know current time from internet from command line in Linux?\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/superuser.com\/questions\/635020\/how-to-know-current-time-from-internet-from-command-line-in-linux<\/a><\/p>\n<p>\u65b9\u6cd51<\/p>\n<pre lang=\"bash\">\n$ nc time.nist.gov 13\n# Both commands query the timer server on TCP port 13 of the National Institute of Standards and Technology and output the received data on stdout.\n<\/pre>\n<p>nc \u6307\u4ee4\u8aaa\u660e<br \/>\nThis is nc from the netcat-openbsd package. An alternative nc is available in the netcat-traditional package.<br \/>\nusage: nc [-46bCDdhjklnrStUuvZz] [-I length] [-i interval] [-O length] [-P proxy_username] [-p source_port] [-q seconds] [-s source] [-T toskeyword] [-V rtable] [-w timeout] [-X proxy_protocol] [-x proxy_address[:port]] [destination] [port]<\/p>\n<p>\u65b9\u6cd52<\/p>\n<pre lang=\"bash\">\n$ curl -s --head http:\/\/google.com | grep ^Date: | sed 's\/Date: \/\/g'\n# \u53d6\u5f97google\u9996\u9801\u4e0a\u7684\u6642\u9593\u6a19\u8a08\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Source: http:\/\/superuser.com\/questions\/635020\/how-to-know-current-time-from-internet-from-command-line-in-linux \u65b9\u6cd51 $ nc time.nist.gov 13 # Both commands query the timer server on TCP port 13 of the National Institute of Standards and Technology and output the received data on stdout. nc \u6307\u4ee4\u8aaa\u660e This is nc from the &hellip; <a href=\"https:\/\/cowmanchiang.me\/wp\/?p=1007\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[],"class_list":["post-1007","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1007"}],"version-history":[{"count":1,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1007\/revisions"}],"predecessor-version":[{"id":2036,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1007\/revisions\/2036"}],"wp:attachment":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}