{"id":404,"date":"2013-06-05T06:58:48","date_gmt":"2013-06-05T06:58:48","guid":{"rendered":"https:\/\/shan.info\/new\/%e6%8c%89%e8%a1%8c%e6%95%b0%e5%88%86%e5%89%b2\/"},"modified":"2013-06-05T06:58:48","modified_gmt":"2013-06-05T06:58:48","slug":"%e6%8c%89%e8%a1%8c%e6%95%b0%e5%88%86%e5%89%b2","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/%e6%8c%89%e8%a1%8c%e6%95%b0%e5%88%86%e5%89%b2\/","title":{"rendered":"\u6309\u884c\u6570\u5206\u5272"},"content":{"rendered":"<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; line-height: 26px;\">\u6709\u4e2a\u6587\u4ef6\u8981\u5904\u7406\uff0c\u56e0\u4e3a\u5f88\u5927\uff0c\u6240\u4ee5\u60f3\u628a\u5b83\u5207\u6210\u82e5\u5e72\u4efd\uff0c\u6bcf\u4efd<span style=\"font-family: 'Times New Roman';\">N<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u884c\uff0c\u4ee5\u4fbf\u5e76\u884c\u5904\u7406\u3002\u600e\u4e48\u641e\u5462\uff1f\u67e5\u4e86\u4e0b\u5f3a\u5927\u7684<\/span><span style=\"font-family: 'Times New Roman';\">shell<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u679c\u7136\u6709\u73b0\u6210\u7684\u5de5\u5177<\/span><span style=\"font-family: 'Times New Roman';\">&#8211;split<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u3002<\/span><br \/>\u4e0b\u9762\u8bb0\u5f55\u4e0b\u57fa\u672c\u7528\u6cd5\uff1a<\/p>\n<div class=\"dp-highlighter bg_plain\" style=\"font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #e7e5dc; width: 1383.015625px; overflow: auto; padding-top: 1px; line-height: 26px;\">\n<div class=\"bar\" style=\"padding-left: 45px;\">\n<div class=\"tools\" style=\"padding: 3px 8px 10px 10px; font-size: 9px; line-height: normal; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; color: silver; background-color: #f8f8f8; border-left-width: 3px; border-left-style: solid; border-left-color: #6ce26c;\">\n<div style=\"position: absolute; left: 386px; top: 508px; width: 18px; height: 18px; z-index: 99;\">&nbsp;<\/div>\n<\/div>\n<\/div>\n<ol style=\"padding: 0px; border: none; list-style-position: initial; list-style-image: initial; background-color: #ffffff; color: #5c5c5c;\" start=\"1\">\n<li class=\"alt\" style=\"border-style: none none none solid; border-left-width: 3px; border-left-color: #6ce26c; list-style: decimal-leading-zero outside; color: inherit; line-height: 18px;\"><span style=\"margin: 0px; padding: 0px; border: none; color: black; background-color: inherit;\"><span style=\"margin: 0px; padding: 0px; border: none; background-color: inherit;\">split&nbsp;[-bl]&nbsp;file&nbsp;[prefix]&nbsp;&nbsp;<\/span><\/span><\/li>\n<\/ol>\n<\/div>\n<p><strong style=\"font-family: Arial; line-height: 26px;\"><br \/>\u53c2\u6570\u8bf4\u660e\uff1a<\/strong><br style=\"font-family: Arial; line-height: 26px;\" \/><span style=\"font-family: Arial; line-height: 26px;\">-b,&nbsp;&#8211;bytes=SIZE<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\uff1a\u5bf9<\/span><span style=\"line-height: 26px; font-family: 'Times New Roman';\">file<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\u8fdb\u884c\u5207\u5206\uff0c\u6bcf\u4e2a\u5c0f\u6587\u4ef6\u5927\u5c0f\u4e3a<\/span><span style=\"line-height: 26px; font-family: 'Times New Roman';\">SIZE<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\u3002\u53ef\u4ee5\u6307\u5b9a\u5355\u4f4d<\/span><span style=\"line-height: 26px; font-family: 'Times New Roman';\">b,k,m<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\u3002<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><span style=\"font-family: Arial; line-height: 26px;\">-l,&nbsp;&#8211;lines=NUMBER<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\uff1a\u5bf9<\/span><span style=\"line-height: 26px; font-family: 'Times New Roman';\">file<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\u8fdb\u884c\u5207\u5206\uff0c\u6bcf\u4e2a\u6587\u4ef6\u6709<\/span><span style=\"line-height: 26px; font-family: 'Times New Roman';\">NUMBER<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\u884c\u3002<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; line-height: 26px;\">prefix<span style=\"font-family: \u5b8b\u4f53;\">\uff1a\u5206\u5272\u540e\u4ea7\u751f\u7684\u6587\u4ef6\u540d\u524d\u7f00\u3002<\/span><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; line-height: 26px;\"><strong>&nbsp;<\/strong><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; line-height: 26px;\"><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; line-height: 26px;\">\u5047\u8bbe\u8981\u5207\u5206\u7684\u6587\u4ef6\u4e3a<span style=\"font-family: 'Times New Roman';\">test.2012-08-16_17<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u5927\u5c0f<\/span><span style=\"font-family: 'Times New Roman';\">1.2M<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c<\/span><span style=\"font-family: 'Times New Roman';\">12081<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u884c\u3002<\/span><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; line-height: 26px;\">1)<\/p>\n<div class=\"dp-highlighter bg_plain\" style=\"font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #e7e5dc; width: 1383.015625px; overflow: auto; padding-top: 1px; line-height: 26px;\">\n<div class=\"bar\" style=\"padding-left: 45px;\">\n<div class=\"tools\" style=\"padding: 3px 8px 10px 10px; font-size: 9px; line-height: normal; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; color: silver; background-color: #f8f8f8; border-left-width: 3px; border-left-style: solid; border-left-color: #6ce26c;\">\n<div style=\"position: absolute; left: 386px; top: 829px; width: 18px; height: 18px; z-index: 99;\">&nbsp;<\/div>\n<\/div>\n<\/div>\n<ol style=\"padding: 0px; border: none; list-style-position: initial; list-style-image: initial; background-color: #ffffff; color: #5c5c5c;\" start=\"1\">\n<li class=\"alt\" style=\"border-style: none none none solid; border-left-width: 3px; border-left-color: #6ce26c; list-style: decimal-leading-zero outside; color: inherit; line-height: 18px;\"><span style=\"margin: 0px; padding: 0px; border: none; color: black; background-color: inherit;\"><span style=\"margin: 0px; padding: 0px; border: none; background-color: inherit;\">split&nbsp;-l&nbsp;5000&nbsp;test.2012-08-16_17&nbsp;&nbsp;<\/span><\/span><\/li>\n<\/ol>\n<\/div>\n<p><span style=\"font-family: Arial; line-height: 26px;\">\u751f\u6210<\/span><span style=\"line-height: 26px; font-family: 'Times New Roman';\">xaa<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\uff0c<\/span><span style=\"line-height: 26px; font-family: 'Times New Roman';\">xab<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\uff0c<\/span><span style=\"line-height: 26px; font-family: 'Times New Roman';\">xac<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\u4e09\u4e2a\u6587\u4ef6\u3002<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><span style=\"font-family: Arial; line-height: 26px;\">wc&nbsp;-l&nbsp;<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\u770b\u5230\u4e09\u4e2a\u6587\u4ef6\u884c\u6570\u5982\u4e0b\uff1a<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><span style=\"font-family: Arial; line-height: 26px;\">5000&nbsp;xaa<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><span style=\"font-family: Arial; line-height: 26px;\">5000&nbsp;xab<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><span style=\"font-family: Arial; line-height: 26px;\">2081&nbsp;xac<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><\/p>\n<ol style=\"list-style-type: decimal-leading-zero;\">\n<li><span style=\"font-family: \u5b8b\u4f53;\">\u603b\u8ba1<\/span><\/li>\n<\/ol>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; line-height: 26px;\">2)&nbsp;<\/p>\n<div class=\"dp-highlighter bg_plain\" style=\"font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #e7e5dc; width: 1383.015625px; overflow: auto; padding-top: 1px; line-height: 26px;\">\n<ol style=\"padding: 0px; border: none; list-style-position: initial; list-style-image: initial; background-color: #ffffff; color: #5c5c5c;\" start=\"1\">\n<li class=\"alt\" style=\"border-style: none none none solid; border-left-width: 3px; border-left-color: #6ce26c; list-style: decimal-leading-zero outside; color: inherit; line-height: 18px;\"><span style=\"margin: 0px; padding: 0px; border: none; color: black; background-color: inherit;\"><span style=\"margin: 0px; padding: 0px; border: none; background-color: inherit;\">split&nbsp;-b&nbsp;600k&nbsp;test.2012-08-16_17&nbsp;&nbsp;<\/span><\/span><\/li>\n<\/ol>\n<\/div>\n<p><span style=\"font-family: Arial; line-height: 26px;\">\u751f\u6210<\/span><span style=\"line-height: 26px; font-family: 'Times New Roman';\">xaa<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\uff0c<\/span><span style=\"line-height: 26px; font-family: 'Times New Roman';\">xab<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\u4e24\u4e2a\u6587\u4ef6<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><span style=\"font-family: Arial; line-height: 26px;\">ls&nbsp;-lh&nbsp;<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\u770b\u5230&nbsp;\u4e24\u4e2a\u6587\u4ef6\u5927\u5c0f\u5982\u4e0b\uff1a<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><span style=\"font-family: Arial; line-height: 26px;\">600K&nbsp;xaa<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><\/p>\n<ol style=\"list-style-type: upper-alpha;\">\n<li>xab<\/li>\n<\/ol>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; line-height: 26px;\">3)<\/p>\n<div class=\"dp-highlighter bg_plain\" style=\"font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #e7e5dc; width: 1383.015625px; overflow: auto; padding-top: 1px; line-height: 26px;\">\n<div class=\"bar\" style=\"padding-left: 45px;\">\n<div class=\"tools\" style=\"padding: 3px 8px 10px 10px; font-size: 9px; line-height: normal; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; color: silver; background-color: #f8f8f8; border-left-width: 3px; border-left-style: solid; border-left-color: #6ce26c;\">\n<div style=\"position: absolute; left: 386px; top: 1367px; width: 18px; height: 18px; z-index: 99;\">&nbsp;<\/div>\n<\/div>\n<\/div>\n<ol style=\"padding: 0px; border: none; list-style-position: initial; list-style-image: initial; background-color: #ffffff; color: #5c5c5c;\" start=\"1\">\n<li class=\"alt\" style=\"border-style: none none none solid; border-left-width: 3px; border-left-color: #6ce26c; list-style: decimal-leading-zero outside; color: inherit; line-height: 18px;\"><span style=\"margin: 0px; padding: 0px; border: none; color: black; background-color: inherit;\"><span style=\"margin: 0px; padding: 0px; border: none; background-color: inherit;\">split&nbsp;-b&nbsp;500k&nbsp;test.2012-08-16_17&nbsp;example&nbsp;&nbsp;<\/span><\/span><\/li>\n<\/ol>\n<\/div>\n<p><span style=\"font-family: Arial; line-height: 26px;\">\u5f97\u5230\u4e09\u4e2a\u6587\u4ef6\uff0c\u6587\u4ef6\u540d\u7684\u524d\u7f00\u90fd\u662f<\/span><span style=\"line-height: 26px; font-family: 'Times New Roman';\">example<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><span style=\"font-family: Arial; line-height: 26px;\">ls&nbsp;-lh&nbsp;<\/span><span style=\"line-height: 26px; font-family: \u5b8b\u4f53;\">\u770b\u5230\u6587\u4ef6\u4fe1\u606f\u5982\u4e0b\uff1a<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><span style=\"font-family: Arial; line-height: 26px;\">500K&nbsp;exampleaa<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><span style=\"font-family: Arial; line-height: 26px;\">500K&nbsp;exampleab<\/span><br style=\"font-family: Arial; line-height: 26px;\" \/><span style=\"font-family: Arial; line-height: 26px;\">154K&nbsp;exampleac<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u4e2a\u6587\u4ef6\u8981\u5904\u7406\uff0c\u56e0\u4e3a\u5f88\u5927\uff0c\u6240\u4ee5\u60f3\u628a\u5b83\u5207\u6210\u82e5\u5e72\u4efd\uff0c\u6bcf\u4efdN\u884c\uff0c\u4ee5\u4fbf\u5e76\u884c\u5904\u7406\u3002\u600e\u4e48\u641e\u5462\uff1f\u67e5\u4e86\u4e0b\u5f3a\u5927\u7684shell\uff0c\u679c\u7136\u6709\u73b0\u6210\u7684\u5de5\u5177&#8211;split\u3002\u4e0b\u9762\u8bb0\u5f55\u4e0b\u57fa\u672c\u7528\u6cd5\uff1a &nbsp; split&nbsp;[-bl]&nbsp;file&nbsp;[prefix]&nbsp;&nbsp; \u53c2\u6570\u8bf4\u660e\uff1a-b,&nbsp;&#8211;bytes=SIZE\uff1a\u5bf9file\u8fdb\u884c\u5207\u5206\uff0c\u6bcf\u4e2a\u5c0f\u6587\u4ef6\u5927\u5c0f\u4e3aSIZE\u3002\u53ef\u4ee5\u6307\u5b9a\u5355\u4f4db,k,m\u3002-l,&nbsp;&#8211;lines=NUMBER\uff1a\u5bf9file\u8fdb\u884c\u5207\u5206\uff0c\u6bcf\u4e2a\u6587\u4ef6\u6709NUMBER\u884c\u3002 prefix\uff1a\u5206\u5272\u540e\u4ea7\u751f\u7684\u6587\u4ef6\u540d\u524d\u7f00\u3002 &nbsp; \u793a\u4f8b\uff1a \u5047\u8bbe\u8981\u5207\u5206\u7684\u6587\u4ef6\u4e3atest.2012-08-16_17\uff0c\u5927\u5c0f1.2M\uff0c12081\u884c\u3002 1) &nbsp; split&nbsp;-l&nbsp;5000&nbsp;test.2012-08-16_17&nbsp;&nbsp; \u751f\u6210xaa\uff0cxab\uff0cxac\u4e09\u4e2a\u6587\u4ef6\u3002wc&nbsp;-l&nbsp;\u770b\u5230\u4e09\u4e2a\u6587\u4ef6\u884c\u6570\u5982\u4e0b\uff1a5000&nbsp;xaa5000&nbsp;xab2081&nbsp;xac \u603b\u8ba1 2)&nbsp; split&nbsp;-b&nbsp;600k&nbsp;test.2012-08-16_17&nbsp;&nbsp; \u751f\u6210xaa\uff0cxab\u4e24\u4e2a\u6587\u4ef6ls&nbsp;-lh&nbsp;\u770b\u5230&nbsp;\u4e24\u4e2a\u6587\u4ef6\u5927\u5c0f\u5982\u4e0b\uff1a600K&nbsp;xaa xab 3) &nbsp; split&nbsp;-b&nbsp;500k&nbsp;test.2012-08-16_17&nbsp;example&nbsp;&nbsp; \u5f97\u5230\u4e09\u4e2a\u6587\u4ef6\uff0c\u6587\u4ef6\u540d\u7684\u524d\u7f00\u90fd\u662fexamplels&nbsp;-lh&nbsp;\u770b\u5230\u6587\u4ef6\u4fe1\u606f\u5982\u4e0b\uff1a500K&nbsp;exampleaa500K&nbsp;exampleab154K&nbsp;exampleac<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63],"tags":[],"class_list":["post-404","post","type-post","status-publish","format-standard","hentry","category-reaver"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=404"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/404\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}