{"id":136239,"date":"2019-02-27T08:23:06","date_gmt":"2019-02-27T00:23:06","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=136239"},"modified":"2019-02-20T10:30:29","modified_gmt":"2019-02-20T02:30:29","slug":"linux-more","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-more.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528Linux \u547d\u4ee4more \u67e5\u770b\u6587\u672c\u6587\u4ef6"},"content":{"rendered":"
Linux \u4e0b\u6709\u5f88\u591a\u5b9e\u7528\u5de5\u5177\u53ef\u4ee5\u8ba9\u4f60\u5728\u7ec8\u7aef\u754c\u9762\u67e5\u770b\u6587\u672c\u6587\u4ef6\u3002\u5176\u4e2d\u4e00\u4e2a\u5c31\u662f more\u3002<\/p>\n
more \u8ddf\u6211\u4e4b\u524d\u53e6\u4e00\u7bc7\u6587\u7ae0\u91cc\u5199\u5230\u7684\u5de5\u5177 \u2014\u2014 less \u5f88\u76f8\u4f3c\u3002\u5b83\u4eec\u4e4b\u95f4\u7684\u4e3b\u8981\u4e0d\u540c\u70b9\u5728\u4e8e more\u00a0\u53ea\u5141\u8bb8\u4f60\u5411\u524d\u67e5\u770b\u6587\u4ef6\u3002<\/p>\n
\u5c3d\u7ba1\u5b83\u80fd\u63d0\u4f9b\u7684\u529f\u80fd\u770b\u8d77\u6765\u5f88\u6709\u9650\uff0c\u4e0d\u8fc7\u5b83\u4f9d\u65e7\u6709\u5f88\u591a\u6709\u7528\u7684\u7279\u6027\u503c\u5f97\u4f60\u53bb\u4e86\u89e3\u3002\u4e0b\u9762\u8ba9\u6211\u4eec\u6765\u5feb\u901f\u6d4f\u89c8\u4e00\u4e0b more\u00a0\u53ef\u4ee5\u505a\u4ec0\u4e48\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u5427\u3002<\/p>\n
\u5047\u8bbe\u4f60\u73b0\u5728\u60f3\u5728\u7ec8\u7aef\u67e5\u770b\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\u3002\u53ea\u9700\u6253\u5f00\u4e00\u4e2a\u7ec8\u7aef\uff0c\u8fdb\u5165\u5bf9\u5e94\u7684\u76ee\u5f55\uff0c\u7136\u540e\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
$ more <filename><\/pre>\n\u4f8b\u5982\uff0c<\/p>\n
$ more jekyll-article.md<\/pre>\n<\/p>\n
\u4f7f\u7528\u7a7a\u683c\u952e\u53ef\u4ee5\u5411\u4e0b\u7ffb\u9875\uff0c\u8f93\u5165 q \u53ef\u4ee5\u9000\u51fa\u3002<\/p>\n
\u5982\u679c\u4f60\u60f3\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u641c\u7d22\u4e00\u4e9b\u6587\u672c\uff0c\u8f93\u5165 \/\u00a0\u5b57\u7b26\u5e76\u5728\u5176\u540e\u52a0\u4e0a\u4f60\u60f3\u8981\u67e5\u627e\u7684\u6587\u5b57\u3002\u4f8b\u5982\u4f60\u8981\u67e5\u770b\u7684\u5b57\u6bb5\u662f \u201cterminal\u201d\uff0c\u53ea\u9700\u8f93\u5165\uff1a<\/p>\n
\/terminal<\/pre>\n<\/p>\n
\u641c\u7d22\u7684\u5185\u5bb9\u662f\u533a\u5206\u5927\u5c0f\u5199\u7684\uff0c\u6240\u4ee5\u8f93\u5165 \/terminal\u00a0\u8ddf \/Terminal \u4f1a\u51fa\u73b0\u4e0d\u540c\u7684\u7ed3\u679c\u3002<\/p>\n
\u548c\u5176\u4ed6\u5b9e\u7528\u5de5\u5177\u7ec4\u5408\u4f7f\u7528<\/strong><\/div>\n\u4f60\u53ef\u4ee5\u901a\u8fc7\u7ba1\u9053\u5c06\u5176\u4ed6\u547d\u4ee4\u884c\u5de5\u5177\u5f97\u5230\u7684\u6587\u672c\u4f20\u8f93\u5230 more\u3002\u4f60\u95ee\u4e3a\u4ec0\u4e48\u8fd9\u6837\u505a\uff1f\u56e0\u4e3a\u6709\u65f6\u8fd9\u4e9b\u5de5\u5177\u83b7\u53d6\u7684\u6587\u672c\u4f1a\u8d85\u8fc7\u7ec8\u7aef\u4e00\u9875\u53ef\u4ee5\u663e\u793a\u7684\u9650\u5ea6\u3002<\/p>\n
\u60f3\u8981\u505a\u5230\u8fd9\u4e2a\uff0c\u5148\u8f93\u5165\u4f60\u60f3\u8981\u4f7f\u7528\u7684\u5b8c\u6574\u547d\u4ee4\uff0c\u540e\u9762\u8ddf\u4e0a\u7ba1\u9053\u7b26\uff08|\uff09\uff0c\u7ba1\u9053\u7b26\u540e\u8ddf more\u3002\u5047\u8bbe\u73b0\u5728\u6709\u4e00\u4e2a\u6709\u5f88\u591a\u6587\u4ef6\u7684\u76ee\u5f55\u3002\u4f60\u5c31\u53ef\u4ee5\u7ec4\u5408 more \u8ddf ls\u00a0\u547d\u4ee4\u5b8c\u6574\u67e5\u770b\u8fd9\u4e2a\u76ee\u5f55\u5f53\u4e2d\u7684\u5185\u5bb9\u3002<\/p>\n
$ ls | more<\/pre>\n<\/p>\n
\u4f60\u53ef\u4ee5\u7ec4\u5408 more\u00a0\u548c grep \u547d\u4ee4\uff0c\u4ece\u800c\u5b9e\u73b0\u5728\u591a\u4e2a\u6587\u4ef6\u4e2d\u627e\u5230\u6307\u5b9a\u7684\u6587\u672c\u3002\u4e0b\u9762\u662f\u6211\u5728\u591a\u7bc7\u6587\u7ae0\u7684\u6e90\u6587\u4ef6\u4e2d\u67e5\u627e \u201cproductivity\u201d \u7684\u4f8b\u5b50\u3002<\/p>\n
$ grep \u2018productivity\u2019 core.md Dict.md lctt2014.md lctt2016.md lctt2018.md README.md | more<\/pre>\n<\/p>\n
\u53e6\u5916\u4e00\u4e2a\u53ef\u4ee5\u548c more\u00a0\u7ec4\u5408\u7684\u5b9e\u7528\u5de5\u5177\u662f ps\uff08\u5217\u51fa\u4f60\u7cfb\u7edf\u4e0a\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b\uff09\u3002\u5f53\u4f60\u7684\u7cfb\u7edf\u4e0a\u8fd0\u884c\u4e86\u5f88\u591a\u7684\u8fdb\u7a0b\uff0c\u4f60\u73b0\u5728\u60f3\u8981\u67e5\u770b\u4ed6\u4eec\u7684\u65f6\u5019\uff0c\u8fd9\u4e2a\u7ec4\u5408\u5c06\u4f1a\u6d3e\u4e0a\u7528\u573a\u3002\u4f8b\u5982\u4f60\u60f3\u627e\u5230\u4e00\u4e2a\u4f60\u9700\u8981\u6740\u6b7b\u7684\u8fdb\u7a0b\uff0c\u53ea\u9700\u8f93\u5165\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/p>\n
$ ps -u scott | more<\/pre>\n\u6ce8\u610f\u7528\u4f60\u7684\u7528\u6237\u540d\u66ff\u6362\u6389 \u201cscott\u201d\u3002<\/p>\n
<\/p>\n
\u5c31\u50cf\u6211\u6587\u7ae0\u5f00\u7bc7\u63d0\u5230\u7684\uff0c more \u5f88\u5bb9\u6613\u4f7f\u7528\u3002\u5c3d\u7ba1\u4e0d\u5982\u5b83\u7684\u53cc\u80de\u80ce\u5144\u5f1f less\u00a0\u90a3\u822c\u7075\u6d3b\uff0c\u4f46\u662f\u4ecd\u7136\u503c\u5f97\u4e86\u89e3\u4e00\u4e0b\u3002<\/p>\n
\nvia: https:\/\/opensource.com\/article\/19\/1\/more-text-files-linux<\/a><\/p>\n
\u4f5c\u8005\uff1aScott Nesbitt<\/a> \u9009\u9898\uff1alujun9972<\/a> \u8bd1\u8005\uff1adianbanjiu<\/a> \u6821\u5bf9\uff1awxy<\/a><\/p>\n
\u672c\u6587\u7531 LCTT<\/a> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a> \u8363\u8a89\u63a8\u51fa<\/p>\n","protected":false},"excerpt":{"rendered":"
Linux \u4e0b\u6709\u5f88\u591a\u5b9e\u7528\u5de5\u5177\u53ef\u4ee5\u8ba9\u4f60\u5728\u7ec8\u7aef\u754c\u9762\u67e5\u770b\u6587\u672c\u6587\u4ef6\u3002\u5176\u4e2d\u4e00\u4e2a\u5c31\u662f more\u3002 more \u8ddf\u6211\u4e4b\u524d\u53e6\u4e00\u7bc7 […]<\/p>\n","protected":false},"author":323,"featured_media":117365,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-136239","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/136239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/323"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=136239"}],"version-history":[{"count":5,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/136239\/revisions"}],"predecessor-version":[{"id":136839,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/136239\/revisions\/136839"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/117365"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=136239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=136239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=136239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}