\n
<<EOF \/\/\u5f00\u59cb\r\n....\r\nEOF \/\/\u7ed3\u675f<\/pre>\n<\/div>\nPS\uff1a<\/strong>EOF\u4e0d\u662f\u56fa\u5b9a\u7684\uff0c\u53ef\u4ee5\u81ea\u5b9a\u4e49\u5176\u4ed6\uff0c\u4f46\u9700\u6ce8\u610f\uff0c\u7ed3\u675f\u7b26\u548c\u8d77\u59cb\u7b26\u8981\u4fdd\u6301\u4e00\u81f4<\/p>\n2.\u91cd\u5b9a\u5411\u7b26\u53f7\uff1a<\/strong><\/strong><\/span><\/div>\n\n
< :\u8f93\u5165\u91cd\u5b9a\u5411\r\n> :\u8f93\u51fa\u91cd\u5b9a\u5411\r\n>> :\u8f93\u51fa\u91cd\u5b9a\u5411,\u8ffd\u52a0,\u4e0d\u8986\u76d6\u4e4b\u524d\u5185\u5bb9\r\n<< :\u6807\u51c6\u8f93\u5165\u6765\u81ea\u547d\u4ee4\u884c\u7684\u4e00\u5bf9\u5206\u9694\u53f7\u7684\u4e2d\u95f4\u5185\u5bb9.<\/pre>\n<\/div>\n3.\u6848\u4f8b\uff1a<\/strong><\/strong><\/span><\/div>\n1\uff09\u5411eof.txt\u6587\u4ef6\u4e2d\u5199\u5165\u5185\u5bb9\uff08\u5c06EOF\u7684\u8f93\u51fa\u4f5c\u4e3acat\u547d\u4ee4\u7684\u8f93\u5165\uff09<\/p>\n
\n
# \u8f93\u5165\u5185\u5bb9\u5230\u6587\u4ef6\uff0c\u5982\u679c\u6587\u4ef6\u6709\u5185\u5bb9\u4f1a\u8986\u76d6\r\n[root@VM_0_10_centos shellScript]# cat << EOF > eof.txt\r\n> this is eof\r\n> eof\r\n> content\r\n> eof end\r\n> EOF\r\n[root@VM_0_10_centos shellScript]# cat eof.txt \r\nthis is eof\r\neof\r\ncontent\r\neof end\r\neof\r\n\u6216\r\n[root@VM_0_10_centos shellScript]# cat ><\/strong> eof.txt << EOF\r\n> qwer\r\n> qaz\r\n> EOF<\/pre>\n<\/div>\n\u8f93\u5165\u5185\u5bb9\u5230\u6587\u4ef6\uff0c\u4e0d\u8986\u76d6\uff0c\u4ee5\u8ffd\u52a0\u65b9\u5f0f\u8f93\u5165<\/p>\n
\n
[root@VM_0_10_centos shellScript]# cat << EOF >> eof.txt \r\n> 12345\r\n> 56789\r\n> EOF\r\n[root@VM_0_10_centos shellScript]# cat eof.txt \r\nthis is eof\r\neof\r\ncontent\r\neof end\r\neof\r\n12345\r\n56789\r\n\u6216\r\n[root@VM_0_10_centos shellScript]# cat >> eof.txt << EOF\r\n> wsx\r\n> edc\r\n> EOF\r\n[root@VM_0_10_centos shellScript]# cat eof.txt \r\nqwer\r\nqaz\r\nwsx\r\nedc<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"\u6211\u4eec\u5728\u811a\u672c\u4e2d\u7ecf\u5e38\u4f1a\u53d1\u73b0\u4f7f\u7528EOF\u7684\u60c5\u51b5\u3002EOF\u53ef\u4ee5\u7ed3\u5408cat\u547d\u4ee4\u5bf9\u5185\u5bb9\u8fdb\u884c\u8ffd\u52a0\u3002\u6bd4\u5982\uff1a\u6267\u884c\u811a\u672c\u7684\u65f6\u5019\uff0c\u9700\u8981\u5f80\u4e00 […]<\/p>\n","protected":false},"author":643,"featured_media":169960,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-169955","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\/169955","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\/643"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=169955"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/169955\/revisions"}],"predecessor-version":[{"id":169959,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/169955\/revisions\/169959"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/169960"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=169955"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=169955"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=169955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}