{"id":2391,"date":"2019-05-26T23:56:56","date_gmt":"2019-05-26T15:56:56","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=2391"},"modified":"2023-04-30T08:42:10","modified_gmt":"2023-04-30T00:42:10","slug":"sleep","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/sleep","title":{"rendered":"sleep\u547d\u4ee4 &#8211; \u5ef6\u8fdf\u5f53\u524d\u547d\u4ee4\u7684\u6267\u884c"},"content":{"rendered":"\n<p>sleep\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u5ef6\u8fdf\u5f53\u524d\u547d\u4ee4\u7684\u6267\u884c\uff0c\u8fbe\u5230\u6240\u8bbe\u7f6e\u7684\u65f6\u95f4\u540e\u624d\u4f1a\u6267\u884c\u540e\u7eed\u5de5\u4f5c\u3002<\/p>\n\n\n\n<p><strong>\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>sleep [\u53c2\u6570] <\/p>\n\n\n\n<p><strong>\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>s<\/td><td>\u79d2\u6570<\/td><\/tr><tr><td>m<\/td><td>\u5206\u949f<\/td><\/tr><tr><td>h<\/td><td>\u5c0f\u65f6<\/td><\/tr><tr><td>d<\/td><td>\u65e5\u671f<\/td><\/tr><tr><td>--help<\/td><td>\u663e\u793a\u5e2e\u52a9\u4fe1\u606f<\/td><\/tr><tr><td>--version<\/td><td>\u663e\u793a\u7248\u672c\u4fe1\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u53c2\u8003\u793a\u4f8b<\/strong><\/p>\n\n\n\n<p>\u8bbe\u5b9a\u7ec8\u7aef\u754c\u9762\u4f11\u77203\u5206\u949f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@linuxcool ~]#<strong> sleep 3m<\/strong><\/pre>\n\n\n\n<p>\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u65f6\u95f4\uff0c\u968f\u540e\u4f11\u77201\u5206\u949f\uff0c\u518d\u6b21\u663e\u793a\u7cfb\u7edf\u65f6\u95f4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@linuxcool ~]# <strong>date ; sleep 1m ; date<\/strong>\nSun Jun  5 16:20:43 CST 2024\nSun Jun  5 16:21:43 CST 2024<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>sleep\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u5ef6\u8fdf\u5f53\u524d\u547d\u4ee4\u7684\u6267\u884c\uff0c\u8fbe\u5230\u6240\u8bbe\u7f6e\u7684\u65f6\u95f4\u540e\u624d\u4f1a\u6267\u884c\u540e\u7eed\u5de5\u4f5c\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1asleep [\u53c2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-2391","post","type-post","status-publish","format-standard","hentry","category-system"],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2391","targetHints":{"allow":["GET"]}}],"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=2391"}],"version-history":[{"count":12,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2391\/revisions"}],"predecessor-version":[{"id":14196,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2391\/revisions\/14196"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=2391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=2391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=2391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}