{"id":897,"date":"2019-04-26T17:06:54","date_gmt":"2019-04-26T09:06:54","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=897"},"modified":"2022-05-11T17:50:20","modified_gmt":"2022-05-11T09:50:20","slug":"more","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/more","title":{"rendered":"more\u547d\u4ee4 – \u5206\u9875\u663e\u793a\u6587\u672c\u6587\u4ef6\u5185\u5bb9"},"content":{"rendered":"\n

more\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u5206\u9875\u663e\u793a\u6587\u672c\u6587\u4ef6\u5185\u5bb9\u3002\u5982\u679c\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5185\u5bb9\u8f83\u591a\u8f83\u957f\uff0c\u4f7f\u7528cat\u547d\u4ee4\u8bfb\u53d6\u540e\u5219\u5f88\u96be\u770b\u6e05\uff0c\u8fd9\u65f6\u4f7f\u7528more\u547d\u4ee4\u8fdb\u884c\u5206\u9875\u67e5\u770b\u5c31\u66f4\u52a0\u5408\u9002\u4e86\uff0c\u53ef\u4ee5\u628a\u6587\u672c\u5185\u5bb9\u4e00\u9875\u4e00\u9875\u7684\u663e\u793a\u5728\u7ec8\u7aef\u754c\u9762\u4e0a\uff0c\u7528\u6237\u6bcf\u6309\u4e00\u6b21\u56de\u8f66\u5373\u5411\u4e0b\u4e00\u884c\uff0c\u6bcf\u6309\u4e00\u6b21\u7a7a\u683c\u5373\u5411\u4e0b\u4e00\u9875\uff0c\u76f4\u81f3\u770b\u5b8c\u4e3a\u6b62\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>more [\u53c2\u6570] \u6587\u4ef6<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-num <\/td>\u6307\u5b9a\u6bcf\u5c4f\u663e\u793a\u7684\u884c\u6570 <\/td><\/tr>
-l<\/td>more\u5728\u901a\u5e38\u60c5\u51b5\u4e0b\u628a ^L<\/strong> \u5f53\u4f5c\u7279\u6b8a\u5b57\u7b26, \u9047\u5230\u8fd9\u4e2a\u5b57\u7b26\u5c31\u4f1a\u6682\u505c,-l\u9009\u9879\u53ef\u4ee5\u963b\u6b62\u8fd9\u79cd\u7279\u6027<\/td><\/tr>
-f  <\/td>\u8ba1\u7b97\u5b9e\u9645\u7684\u884c\u6570\uff0c\u800c\u975e\u81ea\u52a8\u6362\u884c\u7684\u884c\u6570<\/td><\/tr>
-p<\/td>\u5148\u6e05\u9664\u5c4f\u5e55\u518d\u663e\u793a\u6587\u672c\u6587\u4ef6\u7684\u5269\u4f59\u5185\u5bb9<\/td><\/tr>
-c<\/td>\u4e0e-p\u76f8\u4f3c\uff0c\u4e0d\u6eda\u5c4f\uff0c\u5148\u663e\u793a\u5185\u5bb9\u518d\u6e05\u9664\u65e7\u5185\u5bb9<\/td><\/tr>
-s<\/td>\u591a\u4e2a\u7a7a\u884c\u538b\u7f29\u6210\u4e00\u884c\u663e\u793a<\/td><\/tr>
-u<\/td>\u7981\u6b62\u4e0b\u5212\u7ebf<\/td><\/tr>
+\/pattern <\/td>\u5728\u6bcf\u4e2a\u6587\u6863\u663e\u793a\u524d\u641c\u5bfb\u8be5\u5b57(pattern)\uff0c\u7136\u540e\u4ece\u8be5\u5b57\u4e32\u4e4b\u540e\u5f00\u59cb\u663e\u793a <\/td><\/tr>
+num  <\/td>\u4ece\u7b2c num \u884c\u5f00\u59cb\u663e\u793a <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u5206\u9875\u663e\u793a\u6307\u5b9a\u7684\u6587\u672c\u6587\u4ef6\u5185\u5bb9\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# more anaconda-ks.cfg <\/strong>\n#version=RHEL8\nignoredisk --only-use=sda\nautopart --type=lvm\n# Partition clearing information\nclearpart --none --initlabel\n# Use graphical install\ngraphical\n# Use CDROM installation media\ncdrom\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n\n\n\n

\u5148\u8fdb\u884c\u6e05\u5c4f\u64cd\u4f5c\uff0c\u968f\u540e\u4ee5\u6bcf\u6b2110\u884c\u5185\u5bb9\u7684\u683c\u5f0f\u663e\u793a\u6307\u5b9a\u7684\u6587\u672c\u6587\u4ef6\u5185\u5bb9\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# more -c -10 anaconda-ks.cfg<\/strong>\n#version=RHEL8\r\nignoredisk --only-use=sda\r\nautopart --type=lvm\r\n# Partition clearing information\r\nclearpart --none --initlabel\r\n# Use graphical install\r\ngraphical\r\nrepo --name=\"AppStream\" --baseurl=file:\/\/\/run\/install\/repo\/AppStream\r\n# Use CDROM installation media\r\ncdrom\r\n--More--(20%)<\/pre>\n\n\n\n

\u5206\u9875\u663e\u793a\u6307\u5b9a\u7684\u6587\u672c\u6587\u4ef6\u5185\u5bb9\uff0c\u9047\u5230\u8fde\u7eed\u4e24\u884c\u4ee5\u4e0a\u7a7a\u767d\u884c\u7684\u60c5\u51b5\uff0c\u5219\u4ee5\u4e00\u884c\u7a7a\u767d\u884c\u663e\u793a\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# more -s anaconda-ks.cfg<\/strong>\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n\n\n\n

\u4ece\u7b2c10\u884c\u5f00\u59cb\uff0c\u5206\u9875\u663e\u793a\u6307\u5b9a\u7684\u6587\u672c\u6587\u4ef6\u5185\u5bb9\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# more +10 anaconda-ks.cfg <\/strong>\ncdrom\n# Keyboard layouts\nkeyboard --vckeymap=us --xlayouts='us'\n# System language\nlang en_US.UTF-8\n\n# Network information\nnetwork  --bootproto=static --device=ens160 --ip=192.168.10.10 --netmask=255.255.255.0 --onboot=off --ipv6=auto --activate\nnetwork  --hostname=linuxprobe.com\n# Root password\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\n<\/pre>\n","protected":false},"excerpt":{"rendered":"

more\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u5206\u9875\u663e\u793a\u6587\u672c\u6587\u4ef6\u5185\u5bb9\u3002\u5982\u679c\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5185\u5bb9\u8f83\u591a\u8f83\u957f\uff0c\u4f7f\u7528cat\u547d\u4ee4\u8bfb\u53d6\u540e\u5219\u5f88\u96be\u770b\u6e05\uff0c\u8fd9 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/897"}],"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=897"}],"version-history":[{"count":20,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/897\/revisions"}],"predecessor-version":[{"id":9523,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/897\/revisions\/9523"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}