{"id":52283,"date":"2024-12-03T10:23:07","date_gmt":"2024-12-03T02:23:07","guid":{"rendered":"https:\/\/fwq.ai\/blog\/52283\/"},"modified":"2024-12-03T10:23:07","modified_gmt":"2024-12-03T02:23:07","slug":"linux%e5%8f%af%e4%b8%8d%e5%8f%af%e4%bb%a5%e5%af%bc%e5%87%ba%e6%96%87%e4%bb%b6%e5%86%85%e5%ae%b9","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/52283\/","title":{"rendered":"linux\u53ef\u4e0d\u53ef\u4ee5\u5bfc\u51fa\u6587\u4ef6\u5185\u5bb9"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>linux\u53ef\u4e0d\u53ef\u4ee5\u5bfc\u51fa\u6587\u4ef6\u5185\u5bb9<\/h1>\n<p>\u5728IT\u884c\u4e1a\u8fd9\u4e2a\u53d1\u5c55\u66f4\u65b0\u901f\u5ea6\u5f88\u5feb\u7684\u884c\u4e1a\uff0c\u53ea\u6709\u4e0d\u505c\u6b62\u7684\u5b66\u4e60\uff0c\u624d\u4e0d\u4f1a\u88ab\u884c\u4e1a\u6240\u6dd8\u6c70\u3002\u5982\u679c\u4f60\u662f\u6587\u7ae0\u5b66\u4e60\u8005\uff0c\u90a3\u4e48\u672c\u6587\u300alinux\u53ef\u4e0d\u53ef\u4ee5\u5bfc\u51fa\u6587\u4ef6\u5185\u5bb9\u300b\u5c31\u5f88\u9002\u5408\u4f60\uff01\u672c\u7bc7\u5185\u5bb9\u4e3b\u8981\u5305\u62ec##content_title##\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u77e5\u8bc6\u79ef\u7d2f\u6709\u6240\u5e2e\u52a9\uff0c\u52a9\u529b\u5b9e\u6218\u5f00\u53d1\uff01<\/p>\n<\/p>\n<blockquote>\n<p>linux\u53ef\u4ee5\u5bfc\u51fa\u6587\u4ef6\u5185\u5bb9\uff0c\u5728linux\u4e2d\u53ef\u4ee5\u7528cat\u547d\u4ee4\u5bfc\u51fa\u6587\u4ef6\u5185\u5bb9\uff1bcat\u547d\u4ee4\u5e38\u7528\u6765\u663e\u793a\u6587\u4ef6\u5185\u5bb9\uff0c\u6216\u8005\u5c06\u51e0\u4e2a\u6587\u4ef6\u8fde\u63a5\u8d77\u6765\u663e\u793a\uff0c\u6216\u8005\u4ece\u6807\u51c6\u8f93\u5165\u8bfb\u53d6\u5185\u5bb9\u5e76\u663e\u793a\uff0c\u5176\u4f7f\u7528\u8bed\u6cd5\u662f\u201ccat [xuanxiang] [wenjian]\u201d\u3002<\/p>\n<\/blockquote>\n<p>Linux \u4e2d \u7528cat \u8f93\u51fa\u6587\u4ef6\u5185\u5bb9<\/p>\n<p><strong>\u529f\u80fd<\/strong>\uff1a\u628a\u4e00\u4e2a\u6216\u8005\u591a\u4e2a\u6587\u4ef6\uff08\u6216\u8005\u6807\u51c6\u8f93\u5165\uff09\u8fde\u63a5\u5728\u4e00\u8d77\uff0c\u5e76\u6807\u51c6\u8f93\u51fa\u3002\uff08Concatenate FILE(s), or standard input, to standard output.\uff09<\/p>\n<p>cat\u547d\u4ee4\u5e38\u7528\u6765\u663e\u793a\u6587\u4ef6\u5185\u5bb9\uff0c\u6216\u8005\u5c06\u51e0\u4e2a\u6587\u4ef6\u8fde\u63a5\u8d77\u6765\u663e\u793a\uff0c\u6216\u8005\u4ece\u6807\u51c6\u8f93\u5165\u8bfb\u53d6\u5185\u5bb9\u5e76\u663e\u793a\u3002\u5b83\u5e38\u4e0e\u91cd\u5b9a\u5411\u7b26\u53f7\u914d\u5408\u4f7f\u7528\u3002cat\u662fConcatenate\u7684\u7f29\u5199\u3002<\/p>\n<blockquote><p>\n  Linux \u6709\u4e09\u4e2a\u7279\u522b\u6587\u4ef6\uff0c\u5206\u522b &nbsp;<br \/>\n <br \/>-\u6807\u51c6\u8f93\u5165 \u5373 STDIN , \u5728 \/dev\/stdin &nbsp;<br \/>\n <br \/> &nbsp; &nbsp;\u4e00\u822c\u6307\u952e\u76d8\u8f93\u5165, shell\u91cc\u4ee3\u53f7\u662f 0 &nbsp;<br \/>\n <br \/>-\u6807\u51c6\u8f93\u51fa STDOUT, \u5728 \/dev\/stdout &nbsp;<br \/>\n <br \/> &nbsp; &nbsp;\u4e00\u822c\u6307\u7ec8\u7aef(terminal), \u5c31\u662f\u663e\u793a\u5668, shell\u91cc\u4ee3\u53f7\u662f 1 &nbsp;<br \/>\n <br \/> -\u6807\u51c6\u9519\u8bef STDERR, \u5728 \/dev\/stderr &nbsp;<br \/>\n <br \/> &nbsp; &nbsp;\u4e5f\u662f\u6307\u7ec8\u7aef(terminal), \u4e0d\u540c\u7684\u662f, \u9519\u8bef\u4fe1\u606f\u9001\u5230\u8fd9\u91cc &nbsp;<br \/>\n <br \/> &nbsp; &nbsp;shell\u91cc\u4ee3\u53f7\u662f 2\n<\/p><\/blockquote>\n<pre>\u8bed\u6cd5\uff1acat &nbsp; [\u9009\u9879] &nbsp; [\u6587\u4ef6]\r\n<\/pre>\n<table border=\"0\">\n<tbody>\n<tr>\n<th>\u77ed\u9009\u9879<\/th>\n<th>\u957f\u9009\u9879<\/th>\n<th>\u6db5\u4e49<\/th>\n<\/tr>\n<tr>\n<th>-A<\/th>\n<td>&#8211;show-all<\/td>\n<td>\u7b49\u4e8e-vET<\/td>\n<\/tr>\n<tr>\n<th>-b<\/th>\n<td>&#8211;number-nonblank<\/td>\n<td>\u5bf9\u975e\u7a7a\u8f93\u51fa\u884c\u7f16\u53f7<\/td>\n<\/tr>\n<tr>\n<th>-e<\/th>\n<td><\/td>\n<td>\u7b49\u4e8e-vE<\/td>\n<\/tr>\n<tr>\n<th>-E<\/th>\n<td>&#8211;show-ends<\/td>\n<td>\u5728\u6bcf\u884c\u7ed3\u675f\u5904\u663e\u793a&#8221;$&#8221;<\/td>\n<\/tr>\n<tr>\n<th>-n<\/th>\n<td>&#8211;number<\/td>\n<td>\u5bf9\u8f93\u51fa\u7684\u6240\u6709\u884c\u7f16\u53f7<\/td>\n<\/tr>\n<tr>\n<th>-s<\/th>\n<td>&#8211;squeeze-blank<\/td>\n<td>\u4e0d\u8f93\u51fa\u591a\u884c\u7a7a\u884c<\/td>\n<\/tr>\n<tr>\n<th>-t<\/th>\n<td><\/td>\n<td>\u4e0e-vT \u7b49\u4ef7<\/td>\n<\/tr>\n<tr>\n<th>-T<\/th>\n<td>&#8211;show-tabs<\/td>\n<td>\u5c06\u8df3\u683c\u5b57\u7b26\u663e\u793a\u4e3a^I<\/td>\n<\/tr>\n<tr>\n<th>-v<\/th>\n<td>&#8211;show-nonprinting<\/td>\n<td>\u4f7f\u7528^ \u548cM- \u5f15\u7528\uff0c\u9664\u4e86LFD\u548c TAB \u4e4b\u5916<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre>\u8f93\u51fa\u6587\u4ef6\u5185\u5bb9 \r\n\r\n\u663e\u793a\u6587\u4ef6FILE\u7684\u5185\u5bb9 cat FILE \r\n\r\n\u663e\u793a\u6587\u4ef6FILE\u7684\u5185\u5bb9\u52a0\u4e0a\u884c\u53f7\uff0c\u9700\u8981\u52a0\u4e0a\u53c2\u6570-n\u3002\u884c\u53f7\u4ece1\u5f00\u59cb\u3002\u4f7f\u7528-n\u53c2\u6570\u65f6\uff0c\u6240\u6709\u7a7a\u884c\u4e5f\u4f1a\u663e\u793a\u884c\u53f7 cat -n FILE \r\n\r\n\u5ffd\u7565\u6389\u7a7a\u884c\uff0c\u7528-b cat -b FILE \r\n\r\n\u5f53\u9047\u5230\u6709\u8fde\u7eed\u4e24\u884c\u4ee5\u4e0a\u7684\u7a7a\u767d\u884c\uff0c\u5c31\u4ee3\u6362\u4e3a\u4e00\u884c\u7684\u7a7a\u767d\u884c\uff0c\u53ef\u4ee5\u4f7f\u7528-s\u53c2\u6570 cat -s FILE \r\n \u4fdd\u5b58\u5185\u5bb9 \r\n\r\n\u5c06\u6807\u51c6\u8f93\u5165\u4fdd\u5b58\u5230\u6587\u4ef6FILE\u4e2d\uff0c\u5982\u679c\u6587\u4ef6\u5df2\u7ecf\u5b58\u5728\uff0c\u5219\u8986\u76d6\u6389\u539f\u6765\u7684 cat &gt;FILE \r\n\r\n\u5c06\u6807\u51c6\u8f93\u5165\u8ffd\u52a0\u5230\u6587\u4ef6FILE\u672b\u5c3e cat &gt;&gt;FILE &nbsp;\r\n \u5408\u5e76\u6587\u4ef6 \r\n &nbsp;\r\n\u5c06\u4e24\u4e2a\u6587\u4ef6FILE1\u548cFILE2\u7684\u5185\u5bb9\u5408\u5e76\u4e3a\u4e00\u4e2a\u6587\u4ef6FILE cat FILE1 FILE2 &gt;FILE\r\n<\/pre>\n<p>undefined<\/p>\n<h3>cat \u4f7f\u7528\u5b9e\u4f8b<\/h3>\n<pre>\u4ece\u6807\u51c6\u8f93\u5165\u521b\u5efa\u6587\u4ef6 \r\n[root@web setup]# code&gt;cat &gt;1.txt \r\nHello \r\nBash \r\nLinux \r\n\u952e\u76d8\uff08\u5feb\u6377\u952e\uff09Ctrl+D \u4fdd\u5b58\u6587\u4ef6 \r\n \r\n[root@web setup]# ls -l 1.txt \r\n-rw-r--r-- 1 root root 17 11-02 21:32 1.txt \r\n[root@web setup]# cat 1.txt &nbsp; \u663e\u793a1.txt\u6587\u672c\u5185\u5bb9\u3002\u6807\u51c6\u8f93\u51fa \r\nHello \r\nBash \r\nLinux \r\n[root@web setup]# cat &lt;1.txt \r\nHello \r\nBash \r\nLinux \r\n[root@web setup]# \r\n \r\n \r\n \u4f7f\u7528heredoc\u6765\u751f\u6210\u6587\u4ef6 \r\n\u6ce8\u610f\uff1a\u7c97\u4f53\u90e8\u5206\u3001here doc\u53ef\u4ee5\u8fdb\u884c\u5b57\u7b26\u4e32\u66ff\u6362 \r\n[root@web setup]# cat &gt;2.txt &lt;&lt;EOF \r\n&gt; Hello \r\n&gt; Bash \r\n&gt; Linux \r\n&gt; PWD=$(pwd) \r\n&gt; EOF \r\n \r\n[root@web setup]# ls -l 2.txt \r\n-rw-r--r-- 1 root root 33 11-02 21:35 2.txt \r\n[root@web setup]# cat 2.txt \r\nHello \r\nBash \r\nLinux \r\nPWD=\/root\/setup &nbsp;\r\n[root@web setup]# \r\n \r\n \r\n \u8f93\u51fa\u884c\u53f7 \r\n[root@web setup]# cat -n 1.txt \r\n &nbsp; &nbsp; 1 &nbsp;Hello \r\n &nbsp; &nbsp; 2 &nbsp;Bash \r\n &nbsp; &nbsp; 3 &nbsp;Linux \r\n[root@web setup]# nl 1.txt \r\n &nbsp; &nbsp; 1 &nbsp;Hello \r\n &nbsp; &nbsp; 2 &nbsp;Bash \r\n &nbsp; &nbsp; 3 &nbsp;Linux \r\n[root@web setup]# \r\n \r\n \r\n \u5728bash\u811a\u672c\u4e2d\u628a\u6587\u4ef6\u5185\u5bb9\u52a0\u8f7d\u5230\u53d8\u91cf\u4e2d \r\n[root@web ~]# TEXT=$(cat .bash_profile) \r\n[root@web ~]# \r\n[root@web ~]# echo \"$TEXT\" \r\n# .bash_profile \r\n \r\n# Get the aliases and functions \r\nif [ -f ~\/.bashrc ]; then \r\n &nbsp; &nbsp; &nbsp; &nbsp;. ~\/.bashrc \r\nfi \r\n \r\n# User specific environment and startup programs \r\n \r\nPATH=$PATH:$HOME\/bin \r\n \r\nexport PATH \r\nunset USERNAME \r\n[root@web ~]#\r\n<\/pre>\n<\/p>\n<h3>heredoc\u6587\u6863<\/h3>\n<p>\u5728linux shell\u811a\u672c\u4e2d\u6211\u4eec\u7ecf\u5e38\u89c1\u5230\u7c7b\u4f3c\u4e8ecat &lt;&lt; EOF\u7684\u8bed\u53e5\uff0c\u4e0d\u719f\u6089\u7684\u7ae5\u978b\u53ef\u80fd\u89c9\u5f97\u5f88\u5947\u602a\uff1aEOF\u597d\u50cf\u662f\u6587\u4ef6\u7684\u7ed3\u675f\u7b26\uff0c\u7528\u5728\u8fd9\u91cc\u8d77\u5230\u4ec0\u4e48\u4f5c\u7528\uff1fEOF\u662f\u201cend of file\u201d\uff0c\u8868\u793a\u6587\u672c\u7ed3\u675f\u7b26\u3002<\/p>\n<p>&lt;&lt;EOF<br \/> \uff08\u5185\u5bb9\uff09<br \/> EOF<\/p>\n<ul>\n<li>\n<p>EOF\u5728\u8fd9\u91cc\u6ca1\u6709\u7279\u6b8a\u7684\u542b\u4e49\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528FOE\u6216OOO\u7b49\uff08\u5f53\u7136\u4e5f\u4e0d\u9650\u5236\u5728\u4e09\u4e2a\u5b57\u7b26\u6216\u5927\u5199\u5b57\u7b26\uff09\u3002<\/p>\n<\/li>\n<li>\n<p>\u53ef\u4ee5\u628aEOF\u66ff\u6362\u6210\u5176\u4ed6\u4e1c\u897f\uff0c\u610f\u601d\u662f\u628a\u5185\u5bb9\u5f53\u4f5c\u6807\u51c6\u8f93\u5165\u4f20\u7ed9\u7a0b<\/p>\n<\/li>\n<li>\n<p>\u7ed3\u5408\u8fd9\u4e24\u4e2a\u6807\u8bc6\uff0c\u5373\u53ef\u907f\u514d\u4f7f\u7528\u591a\u884cecho\u547d\u4ee4\u7684\u65b9\u5f0f\uff0c\u5e76\u5b9e\u73b0\u591a\u884c\u8f93\u51fa\u7684\u7ed3\u679c\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u63a5\u4e0b\u6765\uff0c\u7b80\u5355\u63cf\u8ff0\u4e00\u4e0b\u51e0\u79cd\u5e38\u89c1\u7684\u4f7f\u7528\u65b9\u5f0f\u53ca\u5176\u4f5c\u7528\uff1a<\/p>\n<ul>\n<li>\n<p>cat &lt;&lt;EOF\uff0c\u4ee5EOF\u8f93\u5165\u5b57\u7b26\u4e3a\u6807\u51c6\u8f93\u5165\u5f00\u59cb<\/p>\n<\/li>\n<li>\n<p>cat &gt;filename\uff0c\u521b\u5efa\u6587\u4ef6\uff0c\u5e76\u628a\u6807\u51c6\u8f93\u5165\u8f93\u51fa\u5230filename\u6587\u4ef6\u4e2d\uff0c\u4ee5ctrl+d\u4f5c\u4e3a\u8f93\u5165\u3002<\/p>\n<\/li>\n<li>\n<p>cat &gt;filename &lt;&lt;EOF\uff0c\u4ee5EOF\u4f5c\u4e3a\u8f93\u5165\u7ed3\u675f\uff0c\u548cctrl+d\u7684\u4f5c\u7528\u4e00\u6837\u3002<\/p>\n<\/li>\n<\/ul>\n<pre># cat &gt;test.sh &lt;&lt;EOF\r\n&gt; #!\/bin\/bash\r\n&gt; #you Shell script writes here.\r\n&gt; EOF\r\n<\/pre>\n<p>undefined<\/p>\n<h5>\u5176\u4ed6\u5199\u6cd5<\/h5>\n<p>1\u3001\u8ffd\u52a0\u6587\u4ef6<br \/> #<code> cat &lt;&lt;EOF &gt;&gt;test.sh<\/code><\/p>\n<p>2\u3001\u8ffd\u52a0\u6587\u4ef6,\u6362\u4e00\u79cd\u5199\u6cd5<br \/> # <code>cat &gt;&gt;test.sh &lt;&lt;EOF<\/code><\/p>\n<p>3\u3001EOF\u53ea\u662f\u6807\u8bc6\uff0c\u4e0d\u662f\u56fa\u5b9a\u7684\u3002\u8fd9\u91cc\u7684\u201cHHH\u201d\u5c31\u4ee3\u66ff\u4e86\u201cEOF\u201d\u7684\u529f\u80fd\u3002\u7ed3\u679c\u662f\u76f8\u540c\u7684\u3002<br \/> # <code>cat &lt;&lt;HHH &gt;iii.txt<\/code><br \/> &gt; sdlkfjksl<br \/> &gt; sdkjflk<br \/> &gt; asdlfj<br \/> &gt; HHH<\/p>\n<p>4\u3001\u975e\u811a\u672c\u4e2d\u3002\u5982\u679c\u4e0d\u662f\u5728\u811a\u672c\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u7528Ctrl+D\u8f93\u51faEOF\u7684\u6807\u8bc6<br \/> # <code>cat &gt;iii.txt<\/code><br \/> skldjfklj<br \/> sdkfjkl<br \/> kljkljklj<br \/> kljlk<br \/> Ctrl+D<\/p>\n<p>\u5230\u8fd9\u91cc\uff0c\u6211\u4eec\u4e5f\u5c31\u8bb2\u5b8c\u4e86\u300alinux\u53ef\u4e0d\u53ef\u4ee5\u5bfc\u51fa\u6587\u4ef6\u5185\u5bb9\u300b\u7684\u5185\u5bb9\u4e86\u3002\u4e2a\u4eba\u8ba4\u4e3a\uff0c\u57fa\u7840\u77e5\u8bc6\u7684\u5b66\u4e60\u548c\u5de9\u56fa\uff0c\u662f\u4e3a\u4e86\u66f4\u597d\u7684\u5c06\u5176\u8fd0\u7528\u5230\u9879\u76ee\u4e2d\uff0c\u6b22\u8fce\u5173\u6ce8\u7c73\u4e91\u516c\u4f17\u53f7\uff0c\u5e26\u4f60\u4e86\u89e3\u66f4\u591a\u5173\u4e8eLinux\u7684\u77e5\u8bc6\u70b9\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>linux\u53ef\u4e0d\u53ef\u4ee5\u5bfc\u51fa\u6587\u4ef6\u5185\u5bb9 \u5728IT\u884c\u4e1a\u8fd9\u4e2a\u53d1\u5c55\u66f4\u65b0\u901f\u5ea6\u5f88\u5feb\u7684\u884c\u4e1a\uff0c\u53ea\u6709\u4e0d\u505c\u6b62\u7684\u5b66\u4e60\uff0c\u624d\u4e0d\u4f1a\u88ab\u884c\u4e1a\u6240\u6dd8\u6c70\u3002\u5982\u679c\u4f60\u662f\u6587\u7ae0\u5b66\u4e60\u8005\uff0c\u90a3\u4e48\u672c\u6587\u300alinux\u53ef\u4e0d\u53ef\u4ee5\u5bfc\u51fa\u6587\u4ef6\u5185\u5bb9\u300b\u5c31\u5f88\u9002\u5408\u4f60\uff01\u672c\u7bc7\u5185\u5bb9\u4e3b\u8981\u5305\u62ec##content_title##\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u77e5\u8bc6\u79ef\u7d2f\u6709\u6240\u5e2e\u52a9\uff0c\u52a9\u529b\u5b9e\u6218\u5f00\u53d1\uff01 linux\u53ef\u4ee5\u5bfc\u51fa\u6587\u4ef6\u5185\u5bb9\uff0c\u5728linux\u4e2d\u53ef\u4ee5\u7528cat\u547d\u4ee4\u5bfc\u51fa\u6587\u4ef6\u5185\u5bb9\uff1bcat\u547d\u4ee4\u5e38\u7528\u6765\u663e\u793a\u6587\u4ef6\u5185\u5bb9\uff0c\u6216\u8005\u5c06\u51e0\u4e2a\u6587\u4ef6\u8fde\u63a5\u8d77\u6765\u663e\u793a\uff0c\u6216\u8005\u4ece\u6807\u51c6\u8f93\u5165\u8bfb\u53d6\u5185\u5bb9\u5e76\u663e\u793a\uff0c\u5176\u4f7f\u7528\u8bed\u6cd5\u662f\u201ccat [xuanxiang] [wenjian]\u201d\u3002 Linux \u4e2d \u7528cat \u8f93\u51fa\u6587\u4ef6\u5185\u5bb9 \u529f\u80fd\uff1a\u628a\u4e00\u4e2a\u6216\u8005\u591a\u4e2a\u6587\u4ef6\uff08\u6216\u8005\u6807\u51c6\u8f93\u5165\uff09\u8fde\u63a5\u5728\u4e00\u8d77\uff0c\u5e76\u6807\u51c6\u8f93\u51fa\u3002\uff08Concatenate FILE(s), or standard input, to standard output.\uff09 cat\u547d\u4ee4\u5e38\u7528\u6765\u663e\u793a\u6587\u4ef6\u5185\u5bb9\uff0c\u6216\u8005\u5c06\u51e0\u4e2a\u6587\u4ef6\u8fde\u63a5\u8d77\u6765\u663e\u793a\uff0c\u6216\u8005\u4ece\u6807\u51c6\u8f93\u5165\u8bfb\u53d6\u5185\u5bb9\u5e76\u663e\u793a\u3002\u5b83\u5e38\u4e0e\u91cd\u5b9a\u5411\u7b26\u53f7\u914d\u5408\u4f7f\u7528\u3002cat\u662fConcatenate\u7684\u7f29\u5199\u3002 Linux \u6709\u4e09\u4e2a\u7279\u522b\u6587\u4ef6\uff0c\u5206\u522b &nbsp; -\u6807\u51c6\u8f93\u5165 \u5373 STDIN , \u5728 \/dev\/stdin &nbsp; &nbsp; &nbsp;\u4e00\u822c\u6307\u952e\u76d8\u8f93\u5165, shell\u91cc\u4ee3\u53f7\u662f 0 &nbsp; -\u6807\u51c6\u8f93\u51fa STDOUT, \u5728 \/dev\/stdout &nbsp; &nbsp; &nbsp;\u4e00\u822c\u6307\u7ec8\u7aef(terminal), \u5c31\u662f\u663e\u793a\u5668, shell\u91cc\u4ee3\u53f7\u662f 1 &nbsp; -\u6807\u51c6\u9519\u8bef STDERR, \u5728 \/dev\/stderr &nbsp; &nbsp; &nbsp;\u4e5f\u662f\u6307\u7ec8\u7aef(terminal), \u4e0d\u540c\u7684\u662f, \u9519\u8bef\u4fe1\u606f\u9001\u5230\u8fd9\u91cc &nbsp; &nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-52283","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=52283"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52283\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=52283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=52283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=52283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}