{"id":3752,"date":"2019-06-30T11:10:13","date_gmt":"2019-06-30T03:10:13","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3752"},"modified":"2019-06-30T11:10:16","modified_gmt":"2019-06-30T03:10:16","slug":"rdate","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/rdate","title":{"rendered":"rdate\u547d\u4ee4 – \u663e\u793a\u5176\u4ed6\u4e3b\u673a\u7684\u65e5\u671f\u4e0e\u65f6\u95f4"},"content":{"rendered":"\n

\u6267\u884crdate\u547d\u4ee4\uff0c\u5411\u5c40\u57df\u7f51\u6216\u8005\u7f51\u7edc\u4e0a\u5176\u4ed6\u4e3b\u673a\u8be2\u95ee\u7cfb\u7edf\u65f6\u95f4\u5e76\u6253\u5370\u663e\u793a\u51fa\u6765\u3002\u4e5f\u53ef\u4ee5\u5c06\u5176\u4ed6\u4e3b\u673a\u7684\u65f6\u95f4\u540c\u6b65\u4e3a\u672c\u673a\u65f6\u95f4\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>rdate[\u53c2\u6570] [IP]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-p<\/td>\u663e\u793a\u8fdc\u7aef\u4e3b\u673a\u7684\u65e5\u671f\u4e0e\u65f6\u95f4<\/td><\/tr>
-s<\/td>\u628a\u4ece\u8fdc\u7aef\u4e3b\u673a\u6536\u5230\u7684\u65e5\u671f\u548c\u65f6\u95f4\uff0c\u56de\u5b58\u5230\u672c\u5730\u4e3b\u673a\u7684\u7cfb\u7edf\u65f6\u95f4<\/td><\/tr>
-u<\/td>\u4f20\u8f93\u534f\u8bae\u4f7f\u7528UDP\u534f\u8bae<\/td><\/tr>
-l<\/td>\u4f7f\u7528syslog\u663e\u793a\u9519\u8bef\u4fe1\u606f<\/td><\/tr>
-t <\u65f6\u95f4><\/td>\u8bbe\u7f6e\u8d85\u65f6\u65f6\u95f4<\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u83b7\u53d6”time.nist.gov”\u7684\u65f6\u95f4\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rdate -p time.nist.gov\nrdate: [time.nist.gov]    Sun Jun 30 00:45:51 2019<\/pre>\n\n\n\n

\u83b7\u53d6”time.nist.gov”\u7684\u65f6\u95f4\u5e76\u540c\u6b65\u4e3a\u672c\u673a\u65f6\u95f4\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rdate -p -s time.nist.gov\nrdate: [time.nist.gov]    Sun Jun 30 00:49:23 2019<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u6267\u884crdate\u547d\u4ee4\uff0c\u5411\u5c40\u57df\u7f51\u6216\u8005\u7f51\u7edc\u4e0a\u5176\u4ed6\u4e3b\u673a\u8be2\u95ee\u7cfb\u7edf\u65f6\u95f4\u5e76\u6253\u5370\u663e\u793a\u51fa\u6765\u3002\u4e5f\u53ef\u4ee5\u5c06\u5176\u4ed6\u4e3b\u673a\u7684\u65f6\u95f4\u540c\u6b65\u4e3a\u672c\u673a\u65f6\u95f4 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3752"}],"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=3752"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3752\/revisions"}],"predecessor-version":[{"id":3755,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3752\/revisions\/3755"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}