{"id":107632,"date":"2026-09-19T23:24:38","date_gmt":"2026-09-19T15:24:38","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/107632.html"},"modified":"2026-09-19T23:24:38","modified_gmt":"2026-09-19T15:24:38","slug":"linux-day9-%e5%a4%8d%e4%b9%a0%e7%ac%ac%e4%b8%80%e9%83%a8%e5%88%86%ef%bc%88%e5%ae%9e%e6%93%8d%e4%ba%a7%e5%87%ba%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/107632.html","title":{"rendered":"Linux Day9\u2014\u2014\u590d\u4e60\u7b2c\u4e00\u90e8\u5206\uff08\u5b9e\u64cd\u4ea7\u51fa\uff09"},"content":{"rendered":"<p>&#8212;<\/p>\n<p>type: learning-note<\/p>\n<p>title: Linux&#xff1a;\u5757 1 \u4ea7\u51fa\u65e5\u2014\u2014\u6743\u9650\u4e0e\u8fdb\u7a0b\u5b9e\u64cd<\/p>\n<p>date: 2026-09-19<\/p>\n<p>description: 21 \u6761\u6838\u5fc3\u547d\u4ee4\u9ed8\u5199\u8865\u6f0f&#xff08;\u7f3a 10 \u6761&#xff09;\u3001\u8131\u79bb\u6559\u7a0b\u5b8c\u6210\u4e94\u9879\u5b9e\u64cd&#xff08;\u5efa\u7528\u6237\u7ec4&#043;\u5efa\u7528\u6237 \/ \u6539\u6743\u9650\u6570\u5b57\u6cd5\u4e0e\u5b57\u6bcd\u6cd5 \/ \u6539\u6240\u6709\u8005 \/ \u67e5\u8fdb\u7a0b&#043;kill \/ \u5199 crontab&#xff09;\u3001\u8e29\u8fc7\u516d\u4e2a\u5751\u3001rwx \u5bf9\u6587\u4ef6\u4e0e\u76ee\u5f55\u7684\u533a\u522b\u3001nano \u7684\u6b63\u786e\u7528\u6cd5<\/p>\n<p>&#8212;<\/p>\n<p>\u00a0<\/p>\n<p># 2026-09-19 \u5b66\u4e60\u7b14\u8bb0<\/p>\n<p>\u00a0<\/p>\n<p>&gt; &#x1f4cc; GitHub&#xff1a;https:\/\/github.com\/AR-firefly<\/p>\n<p>\u00a0<\/p>\n<p>## \u7b14\u8bb0\u533a<\/p>\n<p>\u00a0<\/p>\n<p>### \u4e00\u300121 \u6761\u6838\u5fc3\u547d\u4ee4&#xff1a;\u9ed8\u5199 \u2192 \u8865\u6f0f<\/p>\n<p>\u00a0<\/p>\n<p>**\u9ed8\u51fa\u6765 11 \u6761**&#xff1a;&#096;pwd&#096; &#096;ls&#096; &#096;cd&#096; &#096;mkdir&#096; &#096;touch&#096; &#096;cp&#096; &#096;mv&#096; &#096;rm&#096; &#096;cat&#096; &#096;head&#096; &#096;man&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**\u6ca1\u9ed8\u51fa\u6765 \/ \u9ed8\u9519 10 \u6761**&#xff1a;&#096;less&#096; &#096;tail&#096; &#096;find&#096; &#096;ps&#096; &#096;kill&#096; &#096;top&#096; &#096;chmod&#096; &#096;chown&#096; &#096;crontab&#096;&#xff08;\u5916\u52a0\u4e00\u4e2a\u5173\u4e8e &#096;&#8211;help&#096; \u7684\u7591\u95ee&#xff09;<\/p>\n<p>\u00a0<\/p>\n<p>\u8865\u8bb2\u8981\u70b9&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>| \u547d\u4ee4 | \u5e72\u4ec0\u4e48 | \u5173\u952e\u8bb0\u5fc6\u70b9 |<\/p>\n<p>| &#8212;&#8212;&#8212; | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212; | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; |<\/p>\n<p>| &#096;less&#096; | \u5206\u9875\u770b\u6587\u4ef6 | \u540d\u5b57\u6765\u81ea\u300cless is more\u300d\u6897&#xff0c;\u662f\u66f4\u8001\u7684 &#096;more&#096; \u7684\u6539\u8fdb\u7248&#xff1b;**\u6309 &#096;q&#096; \u9000\u51fa**&#xff08;\u8ddf &#096;man&#096; \u662f\u540c\u4e00\u4e2a\u9605\u8bfb\u5668&#xff09; |<\/p>\n<p>| &#096;tail&#096; | \u770b\u6587\u4ef6**\u7ed3\u5c3e** | &#096;head&#096; \u662f\u5934\u3001&#096;tail&#096; \u662f\u5c3e&#xff0c;**\u5b83\u4fe9\u662f\u4e00\u5bf9**&#xff1b;&#096;-n 20&#096; \u6307\u5b9a\u884c\u6570&#xff1b;**&#096;-f&#096;**&#xff08;follow&#xff09;\u8ddf\u7740\u770b\u65b0\u8ffd\u52a0\u7684\u884c&#xff0c;\u6392\u969c\u770b\u65e5\u5fd7\u9760\u5b83 |<\/p>\n<p>| &#096;find&#096; | \u5728**\u78c1\u76d8\u4e0a\u627e\u6587\u4ef6** | \u8ddf &#096;grep&#096; \u5206\u5de5\u8bb0\u7262&#xff1a;**&#096;grep&#096; \u627e\u6587\u4ef6\u91cc\u7684\u5185\u5bb9&#xff0c;&#096;find&#096; \u627e\u6587\u4ef6\u672c\u8eab**\u3002\u7528\u6cd5 &#096;find \/etc -name &#034;*.conf&#034;&#096; |<\/p>\n<p>| &#096;ps&#096; | \u770b\u8fdb\u7a0b | **p**rocess **s**tatus&#xff1b;&#096;ps aux&#096; \u770b\u5168\u90e8\u8fdb\u7a0b&#xff0c;**\u4e0d\u5e26\u53c2\u6570\u53ea\u770b\u5f53\u524d\u7ec8\u7aef** |<\/p>\n<p>| &#096;kill&#096; | \u7ed3\u675f\u8fdb\u7a0b | **\u9ed8\u8ba4\u53d1 SIGTERM&#xff08;15&#xff09;**&#xff1b;&#096;kill -9&#096; \u624d\u662f\u5f3a\u6740\u3002\u540d\u5b57\u5199\u6cd5\u7b49\u4ef7&#xff1a;&#096;-9&#096; &#061; &#096;-KILL&#096; &#061; &#096;-SIGKILL&#096; |<\/p>\n<p>| &#096;top&#096; | **\u5b9e\u65f6**\u770b\u8fdb\u7a0b | \u8ddf &#096;ps&#096; \u7684\u533a\u522b&#xff1a;&#096;ps&#096; \u662f**\u62cd\u4e00\u5f20\u7167**&#xff0c;&#096;top&#096; \u662f**\u770b\u76f4\u64ad**&#xff1b;&#096;q&#096; \u9000\u51fa |<\/p>\n<p>| &#096;chmod&#096; | \u6539**\u6743\u9650\u4f4d** | **ch**ange **mod**e\u3002\u7ba1\u300c\u80fd\u5e72\u4ec0\u4e48\u300d |<\/p>\n<p>| &#096;chown&#096; | \u6539**\u6240\u6709\u8005** | **ch**ange **own**er\u3002\u7ba1\u300c\u662f\u8c01\u7684\u300d |<\/p>\n<p>| &#096;crontab&#096; | \u5b9a\u65f6\u4efb\u52a1\u8868 | **&#096;cron&#096; \u662f\u540e\u53f0\u5e72\u6d3b\u7684\u7a0b\u5e8f&#xff08;\u5b88\u62a4\u8fdb\u7a0b&#xff09;&#xff0c;&#096;crontab&#096; \u662f\u7ed9\u5b83\u6392\u6d3b\u7684\u547d\u4ee4**&#xff08;cron **tab**le&#xff09;&#xff1b;&#096;-e&#096; \u7f16\u8f91&#xff08;edit&#xff09;\u3001&#096;-l&#096; \u5217\u51fa&#xff08;list&#xff09;\u3001&#096;-r&#096; \u5220\u9664&#xff08;remove&#xff09; |<\/p>\n<p>| &#096;man&#096; | \u67e5\u624b\u518c | **&#096;&#8211;help&#096; \u4e0d\u662f\u547d\u4ee4&#xff0c;\u662f\u300c\u9009\u9879\u300d**\u3002&#096;man ls&#096; \u662f\u7cfb\u7edf\u7ed9\u7684\u5b8c\u6574\u624b\u518c&#xff0c;&#096;ls &#8211;help&#096; \u662f\u547d\u4ee4\u81ea\u5e26\u7684\u7b80\u77ed\u7528\u6cd5 |<\/p>\n<p>\u00a0<\/p>\n<p>#### &#096;kill&#096; \u8fd9\u6761\u683d\u4e86\u4e2a\u8ddf\u5934&#xff08;\u91cd\u70b9&#xff09;<\/p>\n<p>\u00a0<\/p>\n<p>**\u539f\u6765\u7684\u9519\u8bef\u7406\u89e3**&#xff1a;\u300c\u9ed8\u8ba4\u662f 9&#xff08;\u4e0d\u5f3a\u5236\u3001\u4f1a\u7b49\u5b83\u8dd1\u5b8c&#xff09;&#xff0c;\u5f3a\u5236\u662f 15\u300d\u2014\u2014**\u6570\u5b57\u548c\u542b\u4e49\u53cd\u4e86**\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**\u600e\u4e48\u649e\u7834\u7684**&#xff1a;\u8d77\u4e00\u4e2a &#096;sleep 300 &amp;&#096;&#xff0c;\u7136\u540e &#096;kill &lt;PID&gt;&#096;&#xff08;\u4e0d\u5e26\u6570\u5b57&#xff09;&#xff0c;**\u5b83\u7acb\u523b\u5c31\u6b7b\u4e86**&#xff0c;\u4e00\u79d2\u6ca1\u591a\u8dd1&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>$ sleep 300 &amp;<\/p>\n<p>[1] 11503<\/p>\n<p>$ kill 11503<\/p>\n<p>[1]&#043; Terminated sleep 300<\/p>\n<p>$ ps -p 11503<\/p>\n<p>\u00a0 \u00a0 PID TTY TIME CMD<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>&#096;ps&#096; \u53ea\u5269\u8868\u5934 &#061; \u8fdb\u7a0b\u5df2\u7ecf\u4e0d\u5b58\u5728\u4e86\u3002\u800c\u90a3\u53e5 &#096;Terminated&#096; **\u672c\u8eab\u5c31\u662f\u7b54\u6848**\u2014\u2014&#096;TERM&#096; &#061; **term**inate\u3002<\/p>\n<p>\u00a0<\/p>\n<p>&#096;man kill&#096; \u539f\u6587&#xff1a;&#096;The default signal for kill is TERM.&#096;<\/p>\n<p>\u00a0<\/p>\n<p>| \u4fe1\u53f7 | \u7f16\u53f7 | \u540d\u5b57\u542b\u4e49 | \u884c\u4e3a |<\/p>\n<p>| &#8212;&#8212;&#8211; | &#8212;&#8212; | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- |<\/p>\n<p>| **\u9ed8\u8ba4** | **15** | **TERM**&#xff08;terminate&#xff09; | \u300c**\u8bf7\u4f60\u7ed3\u675f**\u300d\u2014\u2014\u8fdb\u7a0b**\u53ef\u4ee5\u81ea\u5df1\u51b3\u5b9a**&#xff1a;\u76f4\u63a5\u9000&#xff0c;\u6216\u8005\u5148\u5b58\u76d8\u3001\u5173\u6587\u4ef6\u518d\u9000 |<\/p>\n<p>| &#096;-9&#096; | 9 | **KILL** | \u300c**\u5185\u6838\u76f4\u63a5\u5e72\u6389\u4f60**\u300d\u2014\u2014**\u4e0d\u80fd\u88ab\u5ffd\u7565\u3001\u4e0d\u80fd\u88ab\u6355\u83b7**&#xff0c;\u6ca1\u5f97\u5546\u91cf |<\/p>\n<p>\u00a0<\/p>\n<p>**\u4e3a\u4ec0\u4e48 &#096;kill -9&#096; \u5e38\u89c1**&#xff1a;\u6709\u4e9b\u8fdb\u7a0b\u5361\u6b7b\u4e86\u3001\u6839\u672c\u4e0d\u7406\u4f1a 15&#xff0c;\u90a3\u65f6\u9ed8\u8ba4\u4fe1\u53f7\u6740\u4e0d\u6389&#xff0c;\u53ea\u80fd\u4e0a 9\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**\u8bb0\u5fc6\u94a9\u5b50**&#xff1a;**\u5927\u7684\u662f\u5ba2\u6c14\u8bdd&#xff08;15 \u6e29\u67d4&#xff09;&#xff0c;\u5c0f\u7684\u662f\u52a8\u624b&#xff08;9 \u5f3a\u6740&#xff09;**\u2014\u2014\u8fd9\u4e2a\u522b\u626d\u611f\u672c\u8eab\u5c31\u662f\u94a9\u5b50\u3002<\/p>\n<p>\u00a0<\/p>\n<p>&#xff08;&#096;kill&#096; \u9ed8\u8ba4\u53d1 TERM \u662f\u6709\u9053\u7406\u7684&#xff1a;**\u300c\u8bf7\u8fdb\u7a0b\u597d\u597d\u7ed3\u675f\u300d\u624d\u662f\u5b89\u5168\u7684\u9ed8\u8ba4**&#xff0c;\u4e07\u4e00\u5b83\u6b63\u5728\u5199\u6587\u4ef6&#xff0c;\u5f97\u7ed9\u673a\u4f1a\u6536\u62fe\u5e72\u51c0\u3002&#xff09;<\/p>\n<p>\u00a0<\/p>\n<p>&#8212;<\/p>\n<p>\u00a0<\/p>\n<p>### \u4e8c\u3001\u4e94\u9879\u5b9e\u64cd<\/p>\n<p>\u00a0<\/p>\n<p>\u5b8c\u6574\u7684\u547d\u4ee4\u4e0e\u8f93\u51fa\u89c1 &#096;kb\/\u4ea7\u51fa\/\u57571-\u6743\u9650\u4e0e\u8fdb\u7a0b\u5b9e\u64cd\u8bb0\u5f55.md&#096;&#xff0c;\u8fd9\u91cc\u53ea\u7559\u9aa8\u67b6\u3002<\/p>\n<p>\u00a0<\/p>\n<p>#### 2.1 \u5efa\u7528\u6237\u7ec4 &#043; \u5efa\u7528\u6237<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>sudo groupadd s1prod # \u5efa\u7ec4<\/p>\n<p>sudo useradd -m -G s1prod s1prod2 # \u5efa\u7528\u6237&#xff1a;-m \u5efa\u5bb6\u76ee\u5f55&#xff0c;-G \u52a0\u9644\u52a0\u7ec4<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**\u9a8c\u8bc1\u4e09\u4ef6\u5957**&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>grep s1prod \/etc\/group<\/p>\n<p>id s1prod2<\/p>\n<p>ls \/home<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**\u600e\u4e48\u8bfb**&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>&#8211; &#096;\/etc\/group&#096; \u4e00\u884c 4 \u6bb5&#xff1a;&#096;\u7ec4\u540d:\u5bc6\u7801\u5360\u4f4d:gid:\u6210\u5458\u5217\u8868&#096;&#xff0c;**\u6700\u540e\u90a3\u683c\u662f\u9644\u52a0\u6210\u5458**<\/p>\n<p>&#8211; &#096;id&#096; \u7684 **&#096;gid&#061;&#096;** \u662f**\u4e3b\u7ec4**&#xff08;\u4e00\u4e2a\u7528\u6237\u53ea\u6709\u4e00\u4e2a&#xff09;&#xff1b;**&#096;groups&#061;&#096;** \u662f**\u5168\u90e8\u7ec4** &#061; \u4e3b\u7ec4 &#043; \u6240\u6709\u9644\u52a0\u7ec4<\/p>\n<p>&#8211; **\u4e3b\u7ec4\u4ece\u54ea\u6765**&#xff1a;&#096;useradd&#096; \u4e0d\u5e26 &#096;-g&#096; \u65f6**\u9ed8\u8ba4\u7ed9\u65b0\u7528\u6237\u5efa\u4e00\u4e2a\u540c\u540d\u4e3b\u7ec4**&#xff08;\u672c\u673a\u5f00\u5173 &#096;\/etc\/login.defs:192&#096; \u5199\u7740 &#096;USERGROUPS_ENAB yes&#096;&#xff09;<\/p>\n<p>\u00a0<\/p>\n<p>#### 2.2 \u6539\u6743\u9650&#xff08;\u6570\u5b57\u6cd5 &#043; \u5b57\u6bcd\u6cd5&#xff09;<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>chmod 750 perm-test # \u6570\u5b57\u6cd5<\/p>\n<p>chmod g-x perm-test # \u5b57\u6bcd\u6cd5&#xff1a;\u7ed9\u540c\u7ec4\u51cf\u6389\u6267\u884c<\/p>\n<p>chmod u&#043;x perm-test # \u5b57\u6bcd\u6cd5&#xff1a;\u7ed9\u5c5e\u4e3b\u52a0\u56de\u6267\u884c<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**\u5b57\u6bcd\u6cd5\u7684\u94c1\u5f8b\u2014\u2014\u987a\u5e8f\u662f\u6b7b\u7684**&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>chmod g &#8211; x \u6587\u4ef6<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u2191 \u2191 \u2191<\/p>\n<p>\u00a0 \u00a0 \u00a0\u2460\u5bf9\u8c01 \u2461\u52a0\u51cf \u2462\u4ec0\u4e48\u6743\u9650<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>&#8211; \u2460 \u5bf9\u8c01&#xff1a;&#096;u&#096; \u5c5e\u4e3b \/ &#096;g&#096; \u540c\u7ec4 \/ &#096;o&#096; \u5176\u4ed6\u4eba \/ &#096;a&#096; \u6240\u6709\u4eba&#xff08;**\u4e0d\u5199 &#061; \u9ed8\u8ba4\u6240\u6709\u4eba**&#xff09;<\/p>\n<p>&#8211; \u2461 \u52a0\u51cf&#xff1a;&#096;&#043;&#096; \u52a0 \/ &#096;-&#096; \u51cf<\/p>\n<p>&#8211; \u2462 \u4ec0\u4e48\u6743\u9650&#xff1a;&#096;r&#096; \/ &#096;w&#096; \/ &#096;x&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**\u9a8c\u8bc1&#034;\u76ee\u5f55\u6ca1\u6709 &#096;x&#096; \u5c31\u8fdb\u4e0d\u53bb&#034;**&#xff1a;&#096;chmod 400&#096; \u4e4b\u540e &#096;cd&#096; \u62a5 &#096;Permission denied&#096;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>#### 2.3 \u6539\u6240\u6709\u8005<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>sudo chown s1prod2:s1prod perm-test # \u8bed\u6cd5&#xff1a;\u6362\u6210\u8c01:\u6362\u6210\u54ea\u4e2a\u7ec4 \u6587\u4ef6&#xff08;\u5192\u53f7\u4e0d\u80fd\u7701&#xff09;<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**\u6539\u5b8c\u4e4b\u540e\u7684\u4e00\u4e2a\u76f4\u63a5\u540e\u679c**&#xff1a;\u539f\u5c5e\u4e3b&#xff08;&#096;ar-26710&#096;&#xff09;**\u8fde\u6539\u6743\u9650\u90fd\u505a\u4e0d\u5230\u4e86**&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>$ chmod 750 perm-test<\/p>\n<p>chmod: Operation not permitted (os error 1)<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**\u89c4\u5219**&#xff1a;**\u6539\u6743\u9650\u53ea\u8ba4\u4e24\u4ef6\u4e8b\u2014\u2014\u4f60\u662f\u5c5e\u4e3b&#xff0c;\u6216\u8005\u4f60\u662f root\u3002** \u8ddf\u6587\u4ef6\u5f53\u524d\u7684\u6743\u9650\u4f4d\u65e0\u5173\u3002<\/p>\n<p>\u00a0<\/p>\n<p>#### 2.4 \u67e5\u8fdb\u7a0b \u2192 \u627e PID \u2192 kill<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>$ sleep 300 &amp;<\/p>\n<p>[1] 12807<\/p>\n<p>$ ps<\/p>\n<p>\u00a0 \u00a0 PID TTY TIME CMD<\/p>\n<p>\u00a0 \u00a07444 pts\/0 00:00:01 bash<\/p>\n<p>\u00a0 12807 pts\/0 00:00:00 sleep<\/p>\n<p>\u00a0 12817 pts\/0 00:00:00 ps<\/p>\n<p>$ kill 12807<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**&#096;ps&#096; \u56db\u5217**&#xff1a;&#096;PID&#096; \u8fdb\u7a0b\u53f7 \/ &#096;TTY&#096; \u7ed1\u5728\u54ea\u4e2a\u7ec8\u7aef \/ **&#096;TIME&#096; \u7d2f\u8ba1\u5360\u7528 CPU \u7684\u65f6\u95f4&#xff08;\u4e0d\u662f&#034;\u8dd1\u4e86\u591a\u4e45&#034;&#xff09;** \/ &#096;CMD&#096;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**\u4e24\u4e2a\u7ec6\u8282**&#xff1a;**&#096;ps&#096; \u4f1a\u628a&#034;\u81ea\u5df1&#034;\u4e5f\u5217\u51fa\u6765**&#xff08;\u8dd1 ps \u65f6\u5b83\u4e5f\u662f\u4e2a\u8fdb\u7a0b&#xff09;&#xff1b;**\u4e0d\u5e26\u53c2\u6570\u7684 &#096;ps&#096; \u53ea\u5217\u5f53\u524d\u7ec8\u7aef**&#xff08;\u60f3\u770b\u5168\u90e8\u7528 &#096;ps aux&#096;&#xff0c;\u5b9e\u6d4b 4 \u884c vs 41 \u884c&#xff09;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**&#096;&amp;&#096; \u7684\u4f5c\u7528**&#xff1a;\u628a\u547d\u4ee4**\u4e22\u5230\u540e\u53f0**\u3002\u4e0d\u52a0 &#096;&amp;&#096;&#xff0c;\u524d\u53f0\u547d\u4ee4\u4f1a**\u5360\u4f4f\u7ec8\u7aef**\u2014\u2014\u6572\u4ec0\u4e48\u90fd\u8fdb\u4e0d\u53bb&#xff08;\u8fd9\u4e2a\u5b9e\u9a8c\u5fc5\u987b\u52a0 &#096;&amp;&#096;&#xff0c;\u5c31\u662f\u4e3a\u4e86&#034;\u8d81\u5b83\u8fd8\u5728\u8dd1\u65f6&#034;\u53bb &#096;ps&#096; \u91cc\u627e\u5b83&#xff09;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>#### 2.5 \u5199 crontab<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>*\/5 * * * * date &gt;&gt; \/tmp\/cron-test.log<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**\u8fd9\u4e00\u884c\u5c31\u4e24\u5757**&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>*\/5 * * * * date &gt;&gt; \/tmp\/cron-test.log<\/p>\n<p>\u2514\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u00a0 \u00a0\u4ec0\u4e48\u65f6\u5019 \u5e72\u4ec0\u4e48<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>&#8211; \u4e94\u4e2a\u5b57\u6bb5\u4f9d\u6b21\u662f **\u5206 \u65f6 \u65e5 \u6708 \u5468**&#xff1b;&#096;*&#096; &#061; \u6bcf\u4e2a\u90fd\u7b97&#xff0c;&#096;*\/5&#096; &#061; \u6bcf 5 \u4e2a\u4e00\u6b21<\/p>\n<p>&#8211; &#096;&gt;&gt;&#096; &#061; **\u8ffd\u52a0**&#xff08;\u5199\u5230\u672b\u5c3e&#xff0c;\u4e0d\u52a8\u539f\u6709\u5185\u5bb9&#xff09;&#xff1b;\u5bf9\u6bd4 &#096;&gt;&#096; \u662f**\u8986\u76d6**&#xff08;\u6e05\u7a7a\u518d\u5199&#xff09;<\/p>\n<p>\u00a0<\/p>\n<p>**\u4e24\u6b65\u9a8c\u8bc1**&#xff08;\u8fd9\u4e00\u6b65\u4e0d\u80fd\u7701&#xff09;&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>1. **\u5148\u9a8c&#034;\u547d\u4ee4\u90a3\u4e00\u534a&#034;**&#xff1a;&#096;date &gt;&gt; \/tmp\/cron-test.log&#096; \u624b\u52a8\u8dd1\u4e00\u6b21<\/p>\n<p>2. **\u518d\u9a8c cron \u771f\u7684\u4f1a\u81ea\u5df1\u8dd1**&#xff1a;\u7b49 5 \u5206\u949f&#xff0c;&#096;cat \/tmp\/cron-test.log&#096; \u5e94\u8be5\u591a\u51fa\u884c\u6765<\/p>\n<p>\u00a0<\/p>\n<p>\u5b9e\u6d4b\u7ed3\u679c&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>Sat Sep 19 22:23:51 CST 2026 \u2190 \u624b\u52a8\u8dd1\u7684\u90a3\u6b21<\/p>\n<p>Sat Sep 19 22:25:01 CST 2026 \u2190 cron \u81ea\u5df1\u8dd1\u7684<\/p>\n<p>Sat Sep 19 22:30:02 CST 2026 \u2190 cron \u81ea\u5df1\u8dd1\u7684<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**\u7528\u5b8c\u6e05\u6389**&#xff1a;&#096;crontab -r&#096;&#xff08;&#096;-r&#096; &#061; remove&#xff0c;\u5220\u6574\u4e2a crontab&#xff09;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**crontab \u7684\u6587\u4ef6\u5b58\u54ea**&#xff1a;&#096;\/var\/spool\/cron\/crontabs\/&lt;\u7528\u6237\u540d&gt;&#096;\u2014\u2014**\u4e0d\u662f\u5f53\u524d\u76ee\u5f55**\u3002<\/p>\n<p>\u00a0<\/p>\n<p>&#096;crontab -e&#096; \u7684\u8fc7\u7a0b&#xff1a;\u2460 \u628a\u5b83\u90a3\u8fb9\u7684\u6587\u4ef6\u590d\u5236\u5230\u4e34\u65f6\u6587\u4ef6&#xff08;&#096;\/tmp\/crontab.XXXX&#096;&#xff09;\u2192 \u2461 \u7528\u7f16\u8f91\u5668\u6253\u5f00**\u90a3\u4e2a\u4e34\u65f6\u6587\u4ef6** \u2192 \u2462 \u5b58\u76d8\u9000\u51fa\u540e**\u68c0\u67e5\u8bed\u6cd5** \u2192 \u2463 **\u5b89\u88c5**\u5230\u7cfb\u7edf\u76ee\u5f55 \u2192 \u2464 \u5220\u4e34\u65f6\u6587\u4ef6\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u6240\u4ee5**\u5728\u4efb\u4f55\u76ee\u5f55\u6572 &#096;crontab -e&#096;&#xff0c;\u770b\u5230\u7684\u90fd\u662f\u540c\u4e00\u4efd crontab**\u3002<\/p>\n<p>\u00a0<\/p>\n<p>&#8212;<\/p>\n<p>\u00a0<\/p>\n<p>### \u4e09\u3001\u8e29\u7684\u516d\u4e2a\u5751<\/p>\n<p>\u00a0<\/p>\n<p>#### \u5751 1&#xff1a;&#096;useradd&#096; \u4e0d\u5e26 &#096;-m&#096; \u2192 \u53ea\u767b\u8bb0&#xff0c;\u4e0d\u5efa\u5bb6\u76ee\u5f55<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>$ sudo useradd s1prod<\/p>\n<p>$ grep s1prod \/etc\/passwd<\/p>\n<p>s1prod:x:1003:1005::\/home\/s1prod:\/bin\/sh \u2190 \u767b\u8bb0\u5199\u7740\u5bb6&#034;\u5e94\u8be5\u5728&#034; \/home\/s1prod<\/p>\n<p>$ ls \/home<\/p>\n<p>ar-26710 s1tester2 \u2190 \u4f46\u5b9e\u7269\u6839\u672c\u4e0d\u5b58\u5728<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**&#034;\u767b\u8bb0\u8868 \u2260 \u5b9e\u7269&#034;**&#xff1a;&#096;\/etc\/passwd&#096; \u7b2c 6 \u683c\u5199\u7684\u662f\u5bb6\u76ee\u5f55**\u5e94\u8be5\u5728\u54ea**&#xff0c;\u662f**\u6307\u5411**&#xff1b;\u76ee\u5f55\u672c\u8eab\u5f97\u9760 &#096;-m&#096; \u53bb**\u9020**\u3002\u6ca1\u9020\u7684\u8bdd&#xff0c;\u7528\u6237\u767b\u5f55\u8fdb\u6765 &#096;cd ~&#096; \u76f4\u63a5\u62a5\u9519\u3002<\/p>\n<p>\u00a0<\/p>\n<p>&#xff08;\u8fd9\u6761 09-17 \u5b66\u8fc7\u3001\u4eca\u5929\u53c8\u9519\u4e86\u4e00\u6b21&#xff0c;\u89c1\u300c\u65e7\u77e5\u8bc6\u56de\u6536\u300d\u3002&#xff09;<\/p>\n<p>\u00a0<\/p>\n<p>#### \u5751 2&#xff1a;&#096;chmod&#096; \u5b57\u6bcd\u6cd5\u2014\u2014\u987a\u5e8f\u53cd &#043; \u4e2d\u95f4\u6709\u7a7a\u683c<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>$ chmod g -x perm-test # g \u548c -x \u4e4b\u95f4\u591a\u4e86\u7a7a\u683c<\/p>\n<p>chmod: cannot access &#039;g&#039;: No such file or directory<\/p>\n<p>$ ls -ld perm-test<\/p>\n<p>drw-r&#8212;&#8211; &#8230; perm-test \u2190 \u5c5e\u4e3b\u7684 x \u4e5f\u6ca1\u4e86<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**\u4e3a\u4ec0\u4e48**&#xff1a;&#096;chmod&#096; \u6309\u4f4d\u7f6e\u89e3\u6790\u2014\u2014&#096;g -x&#096; \u88ab\u62c6\u6210**\u4e24\u4e2a\u53c2\u6570**&#xff0c;&#096;-x&#096; \u88ab\u5f53\u6210**\u6a21\u5f0f**&#xff08;&#061; \u5bf9**\u6240\u6709\u4eba**\u53bb\u6389 &#096;x&#096;&#xff09;&#xff0c;&#096;g&#096; \u88ab\u5f53\u6210**\u6587\u4ef6\u540d**\u3002\u6240\u4ee5\u8981\u52a8\u7684\u4e0d\u662f\u540c\u7ec4\u4e00\u4e2a&#xff0c;\u800c\u662f**\u4e09\u7c7b\u4eba\u4e00\u8d77**\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**\u94c1\u5f8b**&#xff1a;\u6a21\u5f0f\u5fc5\u987b\u662f**\u4e00\u4e2a\u8fde\u7740\u7684\u6574\u4f53**&#xff08;&#096;g-x&#096;&#xff09;&#xff0c;**\u4e00\u6709\u7a7a\u683c\u5b83\u5c31\u4e0d\u662f\u90a3\u4e2a\u6a21\u5f0f\u4e86**\u3002<\/p>\n<p>\u00a0<\/p>\n<p>#### \u5751 3&#xff1a;\u76f8\u5bf9\u8def\u5f84 vs \u7edd\u5bf9\u8def\u5f84<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>$ ls ~ # \u80fd\u770b\u5230 perm-test<\/p>\n<p>$ chown s1prod2:s1prod perm-test<\/p>\n<p>chown: cannot dereference &#039;perm-test&#039;: No such file or directory<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**\u56e0\u4e3a\u5f53\u65f6\u4eba\u7ad9\u5728 &#096;\/etc&#096;**&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>| \u5199\u6cd5 | \u7c7b\u578b | \u5c55\u5f00\u6210 |<\/p>\n<p>| &#8212;&#8212;&#8212;&#8211; | &#8212;&#8212;&#8211; | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; |<\/p>\n<p>| &#096;~&#096; | **\u7edd\u5bf9** | &#096;\/home\/ar-26710&#096; |<\/p>\n<p>| &#096;perm-test&#096; | **\u76f8\u5bf9** | **\u5f53\u524d\u76ee\u5f55** &#043; &#096;\/perm-test&#096; &#061; &#096;\/etc\/perm-test&#096;&#xff08;\u4e0d\u5b58\u5728&#xff09; |<\/p>\n<p>\u00a0<\/p>\n<p>**\u89c4\u5219**&#xff1a;\u4ee5 &#096;\/&#096; \u5f00\u5934&#xff08;\u6216 &#096;~&#096;&#xff09;\u2192 **\u7edd\u5bf9\u8def\u5f84&#xff0c;\u5728\u54ea\u6572\u90fd\u4e00\u6837**&#xff1b;\u4e0d\u4ee5 &#096;\/&#096; \u5f00\u5934 \u2192 **\u76f8\u5bf9\u8def\u5f84&#xff0c;\u8ddf\u7740\u4f60\u7ad9\u7684\u4f4d\u7f6e\u53d8**\u3002<\/p>\n<p>\u00a0<\/p>\n<p>#### \u5751 4&#xff1a;&#096;chown&#096; \u7684\u5192\u53f7\u4e0d\u80fd\u7701<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>$ chown s1prod2 s1prod perm-test # \u5c11\u4e86\u5192\u53f7<\/p>\n<p>chown: cannot dereference &#039;s1prod&#039;: No such file or directory<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**&#096;chown&#096; \u6309\u4f4d\u7f6e\u89e3\u6790&#xff1a;\u7b2c\u4e00\u4e2a\u8bcd &#061; \u6362\u6210\u8c01&#xff0c;\u540e\u9762\u6240\u6709\u8bcd\u5168\u662f\u6587\u4ef6\u3002** \u5c11\u4e86\u5192\u53f7&#xff0c;&#096;s1prod&#096; \u5c31\u88ab\u5f53\u6210\u6587\u4ef6\u540d\u627e\u4e86&#xff08;\u6240\u4ee5\u62a5\u9519\u91cc\u53ea\u6709\u5b83\u548c &#096;perm-test&#096;&#xff0c;\u6ca1\u6709 &#096;s1prod2&#096;&#xff09;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>#### \u5751 5&#xff1a;\u4e0d\u662f\u5c5e\u4e3b&#xff0c;\u5c31\u6539\u4e0d\u52a8\u6743\u9650<\/p>\n<p>\u00a0<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>$ chmod 750 perm-test<\/p>\n<p>chmod: Operation not permitted (os error 1)<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u00a0<\/p>\n<p>\u8ddf\u5751 4 \u76f8\u53cd\u7684\u53e6\u4e00\u9762&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>&#8211; **\u662f\u5c5e\u4e3b**&#xff1a;\u54ea\u6015\u6587\u4ef6\u6743\u9650\u662f &#096;000&#096;&#xff0c;**\u7167\u6837\u80fd &#096;chmod&#096;**<\/p>\n<p>&#8211; **\u4e0d\u662f\u5c5e\u4e3b**&#xff1a;\u54ea\u6015\u80fd\u8fdb\u8fd9\u4e2a\u76ee\u5f55&#xff0c;\u4e5f\u662f &#096;Operation not permitted&#096;&#xff08;\u53ea\u6709 &#096;sudo&#096; \u80fd\u6551&#xff09;<\/p>\n<p>\u00a0<\/p>\n<p>&#8212;<\/p>\n<p>\u00a0<\/p>\n<p>### \u56db\u3001&#096;rwx&#096; \u5bf9\u300c\u6587\u4ef6\u300d\u548c\u300c\u76ee\u5f55\u300d\u5206\u522b\u662f\u4ec0\u4e48<\/p>\n<p>\u00a0<\/p>\n<p>| | \u5bf9**\u6587\u4ef6** | \u5bf9**\u76ee\u5f55** |<\/p>\n<p>| &#8212; | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; |<\/p>\n<p>| &#096;r&#096; | \u8bfb**\u5185\u5bb9**&#xff08;&#096;cat&#096;&#xff09; | \u5217\u51fa**\u91cc\u9762\u6709\u4ec0\u4e48**&#xff08;&#096;ls&#096;&#xff09; |<\/p>\n<p>| &#096;w&#096; | \u6539**\u5185\u5bb9** | \u5728\u91cc\u9762**\u5efa \/ \u5220 \/ \u6539\u540d** |<\/p>\n<p>| &#096;x&#096; | **\u6267\u884c**\u5b83 | **\u8fdb\u53bb**&#xff08;&#096;cd&#096;&#xff09;\u3001\u8bbf\u95ee\u91cc\u9762\u7684\u6587\u4ef6 |<\/p>\n<p>\u00a0<\/p>\n<p>**\u4e24\u5904\u6700\u5bb9\u6613\u9519\u7684**&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>1. **\u76ee\u5f55\u7684 &#096;w&#096; \u7ba1\u7684\u662f&#034;\u589e\u5220\u6587\u4ef6&#034;&#xff0c;\u4e0d\u662f&#034;\u6539\u6587\u4ef6\u5185\u5bb9&#034;**&#xff08;\u2192 \u5751 6&#xff09;<\/p>\n<p>2. **\u76ee\u5f55\u7684 &#096;w&#096; \u5fc5\u987b\u914d\u5408 &#096;x&#096; \u624d\u751f\u6548**\u2014\u2014\u53ea\u6709 &#096;rw-&#096;&#xff08;\u6709 r \u6709 w \u6ca1 x&#xff09;\u7684\u76ee\u5f55\u91cc&#xff0c;&#096;touch&#096; \u548c &#096;mkdir&#096; \u90fd\u662f &#096;Permission denied&#096;<\/p>\n<p>\u00a0<\/p>\n<p>**&#096;750&#096; \u62c6\u5f00**&#xff1a;&#096;rwx&#096; &#096;r-x&#096; &#096;&#8212;&#096; &#061; \u5c5e\u4e3b\u5168\u6743 \/ \u540c\u7ec4\u53ef\u8bfb\u53ef\u8fdb \/ \u5176\u4ed6\u4eba\u4ec0\u4e48\u90fd\u6ca1\u6709\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**\u6570\u5b57\u600e\u4e48\u6765\u7684**&#xff1a;&#096;r&#061;4&#096; &#096;w&#061;2&#096; &#096;x&#061;1&#096;&#xff0c;\u4e09\u4f4d\u4e00\u7ec4\u76f8\u52a0&#xff08;&#096;7&#061;4&#043;2&#043;1&#096;\u3001&#096;5&#061;4&#043;0&#043;1&#096;\u3001&#096;0&#061;0&#096;&#xff09;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>&#8212;<\/p>\n<p>\u00a0<\/p>\n<p>### \u4e94\u3001&#096;nano&#096; \u7684\u6b63\u786e\u7528\u6cd5<\/p>\n<p>\u00a0<\/p>\n<p>**&#096;nano&#096; \u4e0d\u662f\u67e5\u770b\u5668&#xff0c;\u5b83\u5c31\u662f\u6587\u672c\u7f16\u8f91\u5668**&#xff08;&#096;man nano&#096; \u539f\u6587&#xff1a;&#096;nano is a small and friendly text editor&#096;&#xff09;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**\u7528\u6cd5\u5dee\u522b\u5728\u8fd9\u513f**&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>| \u6572\u7684 | \u6253\u5f00\u7684\u662f | \u5b58\u76d8\u65f6 |<\/p>\n<p>| &#8212;&#8212;&#8212;&#8212;&#8212;&#8211; | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; |<\/p>\n<p>| &#096;nano&#096; | \u4e00\u4e2a**\u7a7a\u767d\u7f13\u51b2\u533a**&#xff08;\u9876\u90e8 &#096;New Buffer&#096;&#xff0c;\u8fd8\u6ca1\u6709\u540d\u5b57&#xff09; | **\u95ee\u4f60\u8981\u5b58\u6210\u4ec0\u4e48\u6587\u4ef6\u540d**\u2014\u2014\u7b54\u4e0d\u51fa\u6765\u5c31\u5b58\u4e0d\u4e86 |<\/p>\n<p>| **&#096;nano \u6587\u4ef6\u540d&#096;** | \u90a3\u4e2a\u6587\u4ef6&#xff0c;\u76f4\u63a5\u6539 | \u76f4\u63a5\u5b58\u56de\u53bb \u2713 |<\/p>\n<p>| &#096;crontab -e&#096; | crontab \u81ea\u5df1\u7684\u4e34\u65f6\u6587\u4ef6&#xff08;**\u5b83\u77e5\u9053\u662f\u54ea\u4e2a**&#xff09; | \u76f4\u63a5\u5b58&#xff0c;\u8fd8\u4f1a\u5e2e\u7740\u5b89\u88c5 \u2713 |<\/p>\n<p>\u00a0<\/p>\n<p>**\u6240\u4ee5\u5355\u72ec\u6572 &#096;nano&#096; \u4f1a\u5361\u4f4f&#xff0c;\u4e0d\u662f\u56e0\u4e3a\u5b83\u4e0d\u80fd\u5199&#xff0c;\u662f\u56e0\u4e3a\u5b83\u4e0d\u77e5\u9053\u8981\u5b58\u54ea\u513f\u3002** \u8bb0\u4f4f&#xff1a;**&#096;nano&#096; \u540e\u9762\u5fc5\u987b\u8ddf\u4e00\u4e2a\u6587\u4ef6\u540d\u3002**<\/p>\n<p>\u00a0<\/p>\n<p>**nano \u7684\u5b58\u76d8\u9000\u51fa&#xff08;\u4e24\u6b65&#xff09;**&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>1. &#096;Ctrl&#043;O&#096; \u2192 \u5e95\u90e8\u95ee\u4f60**\u5b58\u5230\u54ea\u4e2a\u6587\u4ef6** \u2192 \u76f4\u63a5**\u56de\u8f66**&#xff08;\u7528\u9ed8\u8ba4\u540d&#xff0c;**\u522b\u6539**&#xff09;<\/p>\n<p>2. &#096;Ctrl&#043;X&#096; \u2192 \u95ee &#096;Save modified buffer?&#096; \u2192 \u6309 &#096;Y&#096; \u5b58 \/ &#096;N&#096; \u4e0d\u5b58<\/p>\n<p>\u00a0<\/p>\n<p>**\u53e6\u5916**&#xff1a;**nano \u6253\u5f00\u5c31\u80fd\u76f4\u63a5\u6253\u5b57**&#xff0c;\u4e0d\u9700\u8981\u6309\u4ec0\u4e48\u952e\u8fdb&#034;\u7f16\u8f91\u6a21\u5f0f&#034;&#xff08;\u8fd9\u70b9\u8ddf vim \u4e0d\u4e00\u6837&#xff0c;vim \u8981\u5148\u6309 &#096;i&#096;&#xff09;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**\u53ea\u60f3\u770b\u6587\u4ef6\u5185\u5bb9**\u4e0d\u7528 nano&#xff0c;\u7528 &#096;cat&#096;&#xff08;\u5168\u770b&#xff09;\u6216 &#096;less&#096;&#xff08;\u5206\u9875\u770b&#xff09;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>&#8212;<\/p>\n<p>\u00a0<\/p>\n<p>## \u7ebf\u7d22\u533a&#xff08;\u5b66\u5b8c\u540e\u5408\u4e0a\u6750\u6599&#xff0c;\u81ea\u95ee\u81ea\u7b54&#xff09;<\/p>\n<p>\u00a0<\/p>\n<p>**Q: &#096;kill&#096; \u9ed8\u8ba4\u53d1\u7684\u662f\u54ea\u4e2a\u4fe1\u53f7&#xff1f;\u5b83\u548c &#096;-9&#096; \u5206\u522b\u662f\u4ec0\u4e48\u884c\u4e3a&#xff1f;**<\/p>\n<p>A: \u9ed8\u8ba4 **15 &#061; TERM**&#xff08;terminate&#xff09;&#xff0c;\u610f\u601d\u662f\u300c**\u8bf7\u4f60\u7ed3\u675f**\u300d\u2014\u2014\u8fdb\u7a0b\u53ef\u4ee5\u81ea\u5df1\u51b3\u5b9a&#xff1a;\u76f4\u63a5\u9000&#xff0c;\u6216\u5148\u5b58\u76d8\u3001\u5173\u6587\u4ef6\u518d\u9000\u3002&#096;-9&#096; &#061; **KILL**&#xff0c;\u610f\u601d\u662f\u300c\u5185\u6838\u76f4\u63a5\u5e72\u6389\u4f60\u300d&#xff0c;**\u4e0d\u80fd\u88ab\u5ffd\u7565\u3001\u4e0d\u80fd\u88ab\u6355\u83b7**\u3002\u8bb0\u5fc6\u94a9\u5b50&#xff1a;**\u5927\u7684\u662f\u5ba2\u6c14\u8bdd&#xff08;15&#xff09;&#xff0c;\u5c0f\u7684\u662f\u52a8\u624b&#xff08;9&#xff09;**\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**Q: \u5220\u9664\u4e00\u4e2a\u6587\u4ef6&#xff0c;\u770b\u7684\u662f\u8c01\u8eab\u4e0a\u7684 &#096;w&#096;&#xff1f;**<\/p>\n<p>A: **\u5b83\u6240\u5728\u76ee\u5f55\u7684 &#096;w&#096;**&#xff0c;\u8ddf\u90a3\u4e2a\u6587\u4ef6\u81ea\u5df1\u7684\u6743\u9650\u65e0\u5173\u3002\u56e0\u4e3a\u5220\u6587\u4ef6\u6539\u7684\u662f**\u76ee\u5f55\u91cc\u7684\u90a3\u5f20\u6e05\u5355**&#xff0c;\u4e0d\u662f\u6587\u4ef6\u672c\u8eab\u3002\u6240\u4ee5\u4e00\u4e2a &#096;000&#096; \u7684\u6587\u4ef6\u7167\u6837\u80fd\u5220\u6389\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**Q: &#096;chmod 750&#096; \u91cc\u90a3\u4e2a &#096;750&#096;&#xff0c;\u4e09\u4f4d\u5206\u522b\u7ed9\u8c01\u3001\u600e\u4e48\u7b97\u51fa\u6765\u7684&#xff1f;**<\/p>\n<p>A: \u7b2c\u4e00\u4f4d**\u5c5e\u4e3b**\u3001\u7b2c\u4e8c\u4f4d**\u540c\u7ec4**\u3001\u7b2c\u4e09\u4f4d**\u5176\u4ed6\u4eba**\u3002\u7b97\u6cd5\u662f &#096;r&#061;4&#096; &#096;w&#061;2&#096; &#096;x&#061;1&#096; \u76f8\u52a0&#xff1a;&#096;7&#061;4&#043;2&#043;1&#096;&#xff08;rwx&#xff09;\u3001&#096;5&#061;4&#043;0&#043;1&#096;&#xff08;r-x&#xff09;\u3001&#096;0&#096;&#xff08;&#8212;&#xff09;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**Q: \u76ee\u5f55\u7684 &#096;w&#096; \u548c\u6587\u4ef6\u7684 &#096;w&#096;&#xff0c;\u4f5c\u7528\u4e00\u6837\u5417&#xff1f;**<\/p>\n<p>A: **\u5bf9\u8c61\u4e0d\u4e00\u6837**\u3002\u6587\u4ef6\u7684 &#096;w&#096; &#061; \u6539**\u6587\u4ef6\u5185\u5bb9**&#xff1b;\u76ee\u5f55\u7684 &#096;w&#096; &#061; \u5728\u91cc\u9762**\u5efa \/ \u5220 \/ \u6539\u540d**\u6587\u4ef6\u3002\u53e6\u5916\u76ee\u5f55\u7684 &#096;w&#096; **\u5fc5\u987b\u914d\u5408 &#096;x&#096; \u624d\u751f\u6548**&#xff08;\u53ea\u6709 &#096;rw-&#096; \u7684\u76ee\u5f55\u91cc &#096;touch&#096;\u3001&#096;mkdir&#096; \u90fd\u62a5 &#096;Permission denied&#096;&#xff09;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**Q: \u4e3a\u4ec0\u4e48\u5728 &#096;\/etc&#096; \u91cc\u6572 &#096;chown &#8230; perm-test&#096; \u4f1a\u62a5&#034;\u627e\u4e0d\u5230&#034;&#xff1f;**<\/p>\n<p>A: \u56e0\u4e3a &#096;perm-test&#096; \u662f**\u76f8\u5bf9\u8def\u5f84**&#xff0c;\u4f1a\u5148\u8ddf&#034;\u5f53\u524d\u6240\u5728\u76ee\u5f55&#034;\u62fc\u8d77\u6765 &#061; &#096;\/etc\/perm-test&#096;&#xff08;\u4e0d\u5b58\u5728&#xff09;\u3002&#096;ls ~&#096; \u80fd\u627e\u5230&#xff0c;\u662f\u56e0\u4e3a &#096;~&#096; \u4f1a\u5c55\u5f00\u6210**\u7edd\u5bf9\u8def\u5f84** &#096;\/home\/ar-26710&#096;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**Q: &#096;chown s1prod2 s1prod perm-test&#096; \u8fd9\u6761\u9519\u5728\u54ea&#xff1f;**<\/p>\n<p>A: \u5c11\u4e86\u5192\u53f7\u3002&#096;chown&#096; \u6309\u4f4d\u7f6e\u89e3\u6790\u2014\u2014**\u7b2c\u4e00\u4e2a\u8bcd &#061; \u6362\u6210\u8c01&#xff0c;\u540e\u9762\u6240\u6709\u8bcd\u5168\u662f\u6587\u4ef6**\u3002\u6240\u4ee5 &#096;s1prod&#096; \u88ab\u5f53\u6210\u6587\u4ef6\u540d\u53bb\u627e\u4e86\u3002\u6b63\u786e\u5199\u6cd5\u662f &#096;chown s1prod2:s1prod perm-test&#096;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**Q: \u5355\u72ec\u6572 &#096;nano&#096;&#xff08;\u4e0d\u5e26\u6587\u4ef6\u540d&#xff09;\u4e3a\u4ec0\u4e48\u4f1a\u5361\u4f4f&#xff1f;**<\/p>\n<p>A: \u5b83\u6253\u5f00\u7684\u662f**\u4e00\u4e2a\u8fd8\u6ca1\u6709\u540d\u5b57\u7684\u7a7a\u767d\u7f13\u51b2\u533a**&#xff0c;\u5b58\u76d8\u65f6\u4f1a\u95ee\u300c\u5b58\u6210\u4ec0\u4e48\u6587\u4ef6\u300d\u3002&#096;crontab -e&#096; \u987a\u5229&#xff0c;\u662f\u56e0\u4e3a**\u5b83\u5df2\u7ecf\u6307\u5b9a\u597d\u4e86\u8981\u7f16\u8f91\u54ea\u4e2a\u6587\u4ef6**\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**Q: \u6539\u4e86\u5c5e\u4e3b\u4e4b\u540e&#xff0c;\u539f\u5c5e\u4e3b\u8fd8\u80fd &#096;chmod&#096; \u5417&#xff1f;**<\/p>\n<p>A: **\u4e0d\u80fd**&#xff0c;\u62a5 &#096;Operation not permitted&#096;\u3002**\u6539\u6743\u9650\u53ea\u8ba4\u4e24\u4ef6\u4e8b\u2014\u2014\u4f60\u662f\u5c5e\u4e3b&#xff0c;\u6216\u8005\u4f60\u662f root**&#xff0c;\u8ddf\u6587\u4ef6\u5f53\u524d\u7684\u6743\u9650\u4f4d\u65e0\u5173\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**Q: &#096;&gt;&gt;&#096; \u548c &#096;&gt;&#096; \u7684\u533a\u522b&#xff1f;**<\/p>\n<p>A: &#096;&gt;&gt;&#096; &#061; **\u8ffd\u52a0**&#xff08;\u5199\u5230\u6587\u4ef6\u672b\u5c3e&#xff0c;**\u4e0d\u52a8**\u539f\u6709\u5185\u5bb9&#xff09;&#xff1b;&#096;&gt;&#096; &#061; **\u8986\u76d6**&#xff08;\u5148\u6e05\u7a7a\u518d\u5199&#xff09;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>**Q: &#096;crontab&#096; \u6587\u4ef6\u771f\u5b9e\u5b58\u5728\u54ea&#xff1f;**<\/p>\n<p>A: &#096;\/var\/spool\/cron\/crontabs\/&lt;\u7528\u6237\u540d&gt;&#096;\u2014\u2014**\u7cfb\u7edf\u76ee\u5f55&#xff0c;\u4e0d\u662f\u5f53\u524d\u76ee\u5f55**\u3002\u6240\u4ee5**\u5728\u4efb\u4f55\u5730\u65b9\u6572 &#096;crontab -e&#096;&#xff0c;\u770b\u5230\u7684\u90fd\u662f\u540c\u4e00\u4efd**\u3002<\/p>\n<p>\u00a0<\/p>\n<p>&#8212;<\/p>\n<p>\u00a0<\/p>\n<p>## \u603b\u7ed3&#xff08;50\u5b57\u4ee5\u5185&#xff0c;\u7528\u81ea\u5df1\u7684\u8bdd\u6982\u62ec\u4eca\u5929\u5b66\u5230\u4e86\u4ec0\u4e48&#xff09;<\/p>\n<p>\u00a0<\/p>\n<p>\u5757 1 \u4ea7\u51fa\u65e5&#xff1a;21 \u6761\u547d\u4ee4\u8865\u9f50&#xff0c;\u8131\u79bb\u6559\u7a0b\u72ec\u7acb\u8dd1\u901a\u5efa\u7528\u6237\/\u6539\u6743\u9650\/\u6539\u6240\u6709\u8005\/\u67e5\u8fdb\u7a0b&#043;kill\/\u5199 crontab&#xff1b;\u649e\u7834\u516d\u4e2a\u5751&#xff08;&#096;-m&#096;\u3001\u5b57\u6bcd\u6cd5\u7a7a\u683c\u3001\u76f8\u5bf9\u8def\u5f84\u3001\u5192\u53f7\u3001\u5c5e\u4e3b\u3001\u5220\u6587\u4ef6\u770b\u76ee\u5f55&#xff09;&#xff1b;&#096;kill&#096; \u9ed8\u8ba4 15 \u4e0d\u662f 9\u3002<\/p>\n<p>\u00a0<\/p>\n<p>&#8212;<\/p>\n<p>\u00a0<\/p>\n<p>## \u590d\u4e60\u5361\u7247<\/p>\n<p>\u00a0<\/p>\n<p>| \u6982\u5ff5 | \u5fc5\u5b66\/\u4e86\u89e3 | \u4e00\u53e5\u8bdd | \u573a\u666f |<\/p>\n<p>| &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- | &#8212;&#8212;&#8212; | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; |<\/p>\n<p>| \u5757 1 \u4ea7\u51fa\u65e5 | \u5fc5\u5b66 | \u628a\u5b66\u8fc7\u7684\u4e1c\u897f**\u8131\u79bb\u6559\u7a0b**\u505a\u51fa\u6765 | \u6bcf\u4e2a\u77e5\u8bc6\u5757\u5b66\u5b8c\u7684\u90a3\u4e2a\u5468\u516d |<\/p>\n<p>| &#096;less&#096; | \u5fc5\u5b66 | \u5206\u9875\u770b\u6587\u4ef6&#xff0c;&#096;q&#096; \u9000\u51fa | \u770b\u957f\u6587\u4ef6 |<\/p>\n<p>| &#096;tail&#096; \/ &#096;tail -f&#096; | \u5fc5\u5b66 | \u770b\u7ed3\u5c3e&#xff1b;&#096;-f&#096; \u8ddf\u7740\u770b\u65b0\u884c | \u76ef\u65e5\u5fd7 |<\/p>\n<p>| &#096;find&#096; | \u5fc5\u5b66 | \u5728**\u78c1\u76d8\u4e0a**\u627e\u6587\u4ef6\u672c\u8eab | \u5fd8\u4e86\u6587\u4ef6\u653e\u54ea |<\/p>\n<p>| &#096;grep&#096; vs &#096;find&#096; | \u5fc5\u5b66 | &#096;grep&#096; \u627e**\u5185\u5bb9**&#xff0c;&#096;find&#096; \u627e**\u6587\u4ef6** | \u522b\u7528\u9519 |<\/p>\n<p>| &#096;ps&#096; | \u5fc5\u5b66 | \u62cd\u4e00\u5f20\u8fdb\u7a0b\u5feb\u7167&#xff1b;\u4e0d\u5e26\u53c2\u6570\u53ea\u770b\u5f53\u524d\u7ec8\u7aef | \u627e PID |<\/p>\n<p>| &#096;ps aux&#096; | \u5fc5\u5b66 | \u5217**\u6240\u6709**\u8fdb\u7a0b | \u5168\u76d8\u770b\u8fdb\u7a0b |<\/p>\n<p>| &#096;kill&#096; \u9ed8\u8ba4\u4fe1\u53f7 | \u5fc5\u5b66 | **15 &#061; TERM**&#xff08;\u8bf7\u4f60\u7ed3\u675f&#xff09;&#xff0c;**\u4e0d\u662f 9** | \u7ed3\u675f\u8fdb\u7a0b |<\/p>\n<p>| &#096;kill -9&#096; | \u5fc5\u5b66 | **KILL**&#xff0c;\u4e0d\u80fd\u88ab\u5ffd\u7565\/\u6355\u83b7 | \u5361\u6b7b\u7684\u8fdb\u7a0b |<\/p>\n<p>| &#096;top&#096; | \u5fc5\u5b66 | \u5b9e\u65f6\u770b\u8fdb\u7a0b&#xff08;&#096;ps&#096; \u662f\u62cd\u7167&#xff0c;&#096;top&#096; \u662f\u76f4\u64ad&#xff09; | \u770b\u8c01\u5728\u5403 CPU |<\/p>\n<p>| &#096;cron&#096; vs &#096;crontab&#096; | \u5fc5\u5b66 | &#096;cron&#096; \u662f\u540e\u53f0\u7a0b\u5e8f&#xff0c;&#096;crontab&#096; \u662f\u6392\u6d3b\u7684\u547d\u4ee4 | \u5b9a\u65f6\u4efb\u52a1 |<\/p>\n<p>| cron \u4e94\u5b57\u6bb5 | \u5fc5\u5b66 | **\u5206 \u65f6 \u65e5 \u6708 \u5468**&#xff1b;&#096;*&#096; \u6bcf\u4e2a&#xff0c;&#096;*\/5&#096; \u6bcf 5 \u4e2a | \u5199\u5b9a\u65f6 |<\/p>\n<p>| &#096;crontab -e \/ -l \/ -r&#096; | \u5fc5\u5b66 | \u7f16\u8f91 \/ \u5217\u51fa \/ \u5220\u9664 | \u7ba1\u7406\u5b9a\u65f6\u4efb\u52a1 |<\/p>\n<p>| &#096;&gt;&gt;&#096; vs &#096;&gt;&#096; | \u5fc5\u5b66 | \u8ffd\u52a0 vs \u8986\u76d6 | \u5199\u65e5\u5fd7 |<\/p>\n<p>| &#096;chmod&#096; \u6570\u5b57\u6cd5 | \u5fc5\u5b66 | &#096;r&#061;4 w&#061;2 x&#061;1&#096; \u76f8\u52a0 | 750 \/ 644 |<\/p>\n<p>| &#096;chmod&#096; \u5b57\u6bcd\u6cd5 | \u5fc5\u5b66 | \u987a\u5e8f **\u5bf9\u8c01\u2192\u52a0\u51cf\u2192\u6743\u9650**&#xff08;&#096;g-x&#096;&#xff09;&#xff0c;**\u4e0d\u80fd\u6709\u7a7a\u683c** | \u5fae\u8c03\u67d0\u4e00\u4f4d |<\/p>\n<p>| &#096;chmod&#096; \u4e0d\u5199\u5bf9\u8c01 | \u5fc5\u5b66 | \u9ed8\u8ba4**\u6240\u6709\u4eba** | \u6700\u5bb9\u6613\u8bef\u4f24 |<\/p>\n<p>| &#096;chown&#096; \u8bed\u6cd5 | \u5fc5\u5b66 | &#096;\u7528\u6237:\u7ec4 \u6587\u4ef6&#096;&#xff0c;**\u5192\u53f7\u4e0d\u80fd\u7701** | \u6539\u5f52\u5c5e |<\/p>\n<p>| &#096;chown&#096; \u4e0d\u52a8\u6743\u9650\u4f4d | \u5fc5\u5b66 | \u53ea\u6539\u5f52\u5c5e&#xff0c;\u6743\u9650\u4f4d\u539f\u6837 | \u522b\u6307\u671b\u5b83\u987a\u4fbf\u6539\u6743\u9650 |<\/p>\n<p>| &#096;Operation not permitted&#096; | \u5fc5\u5b66 | \u4e0d\u662f\u5c5e\u4e3b\u4e5f\u4e0d\u662f root | chmod \u62a5\u8fd9\u4e2a |<\/p>\n<p>| \u6539\u6743\u9650\u8ba4\u4ec0\u4e48 | \u5fc5\u5b66 | \u53ea\u8ba4**\u5c5e\u4e3b\u8eab\u4efd**\u6216 root&#xff0c;\u4e0d\u770b\u6587\u4ef6\u5f53\u524d\u6743\u9650 | 000 \u4e5f\u80fd\u6539 |<\/p>\n<p>| \u76f8\u5bf9\u8def\u5f84 vs \u7edd\u5bf9\u8def\u5f84 | \u5fc5\u5b66 | &#096;\/&#096; \u6216 &#096;~&#096; \u5f00\u5934 &#061; \u7edd\u5bf9&#xff0c;\u5728\u54ea\u6572\u90fd\u4e00\u6837 | \u627e\u4e0d\u5230\u6587\u4ef6 |<\/p>\n<p>| \u76ee\u5f55\u65e0 &#096;x&#096; | \u5fc5\u5b66 | \u8fdb\u4e0d\u53bb&#xff08;&#096;cd&#096; \u62a5\u9519&#xff09; | \u6743\u9650\u6392\u969c |<\/p>\n<p>| \u76ee\u5f55 &#096;w&#096; \u8981\u914d &#096;x&#096; | \u5fc5\u5b66 | \u53ea\u6709 &#096;rw-&#096; \u7684\u76ee\u5f55\u91cc &#096;touch&#096;\/&#096;mkdir&#096; \u90fd\u5931\u8d25 | \u5efa\u4e0d\u4e86\u6587\u4ef6 |<\/p>\n<p>| \u5220\u6587\u4ef6\u770b\u8c01\u7684 &#096;w&#096; | \u5fc5\u5b66 | \u770b**\u76ee\u5f55**\u7684 &#096;w&#096;&#xff0c;\u4e0d\u770b\u6587\u4ef6\u81ea\u5df1 | \u6587\u4ef6\u5220\u4e0d\u6389 |<\/p>\n<p>| &#096;rwx&#096; \u5bf9\u76ee\u5f55 | \u5fc5\u5b66 | r&#061;\u5217\u6e05\u5355\u3001w&#061;\u589e\u5220\u6539\u540d\u3001x&#061;\u8fdb\u53bb | \u6743\u9650\u6a21\u578b |<\/p>\n<p>| &#096;useradd -m&#096; | \u5fc5\u5b66 | \u4e0d\u5e26 &#096;-m&#096; \u53ea\u767b\u8bb0\u4e0d\u5efa\u5bb6\u76ee\u5f55 | &#034;\u767b\u8bb0\u8868 \u2260 \u5b9e\u7269&#034; |<\/p>\n<p>| &#096;-g&#096; vs &#096;-G&#096; | \u5fc5\u5b66 | \u5c0f\u5199\u4e3b\u7ec4&#xff08;\u53ea\u6709\u4e00\u4e2a&#xff09;&#xff0c;\u5927\u5199\u9644\u52a0\u7ec4 | \u5efa\u7528\u6237 |<\/p>\n<p>| &#096;-a&#096; \u53ea\u5728 &#096;usermod&#096; | \u5fc5\u5b66 | &#096;usermod -aG&#096; \u8ffd\u52a0&#xff1b;&#096;useradd&#096; \u6ca1\u6709 &#096;-a&#096; | \u52a0\u7ec4 |<\/p>\n<p>| \u540c\u540d\u4e3b\u7ec4 | \u5fc5\u5b66 | &#096;useradd&#096; \u9ed8\u8ba4\u7ed9\u65b0\u7528\u6237\u5efa\u540c\u540d\u4e3b\u7ec4 | \u770b &#096;id&#096; \u7684 gid |<\/p>\n<p>| &#096;id&#096; \u8f93\u51fa | \u5fc5\u5b66 | &#096;gid&#061;&#096; \u4e3b\u7ec4&#xff0c;&#096;groups&#061;&#096; \u5168\u90e8\u7ec4 | \u67e5\u7528\u6237\u5728\u54ea\u4e9b\u7ec4 |<\/p>\n<p>| &#096;nano&#096; \u7528\u6cd5 | \u5fc5\u5b66 | **\u5fc5\u987b\u8ddf\u6587\u4ef6\u540d**&#xff1b;&#096;Ctrl&#043;O&#096; \u5b58\u3001&#096;Ctrl&#043;X&#096; \u9000 | \u7f16\u8f91\u6587\u4ef6 |<\/p>\n<p>| &#096;nano&#096; \u65e0\u63d2\u5165\u6a21\u5f0f | \u5fc5\u5b66 | \u6253\u5f00\u5c31\u80fd\u6253\u5b57&#xff08;vim \u624d\u8981\u6309 &#096;i&#096;&#xff09; | \u522b\u6df7 |<\/p>\n<p>| crontab \u6587\u4ef6\u4f4d\u7f6e | \u4e86\u89e3 | &#096;\/var\/spool\/cron\/crontabs\/&lt;\u7528\u6237\u540d&gt;&#096; | \u597d\u5947\u5b83\u5b58\u54ea |<\/p>\n<p>\u00a0<\/p>\n<p>&#8212;<\/p>\n<p>\u00a0<\/p>\n<p>## \u65e7\u77e5\u8bc6\u56de\u6536&#xff08;\u4eca\u5929\u66b4\u9732\u51fa\u6765\u7684&#xff09;<\/p>\n<p>\u00a0<\/p>\n<p>| \u6982\u5ff5 | \u4e00\u53e5\u8bdd | \u51fa\u5904 |<\/p>\n<p>| &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- |<\/p>\n<p>| &#096;pwd&#096; \u7ba1\u4ec0\u4e48 | \u56de\u7b54&#034;**\u6211\u73b0\u5728\u5728\u54ea\u4e2a\u76ee\u5f55**&#034;&#xff0c;\u4e0d\u662f&#034;\u5bb6\u5728\u54ea&#034;\u2014\u2014\u5728\u5bb6\u76ee\u5f55\u91cc\u6572\u5b83\u663e\u793a\u5bb6&#xff0c;\u662f\u56e0\u4e3a**\u4eba\u5c31\u5728\u5bb6** | 09-05 \u62bd\u8003\u7b54\u9519 |<\/p>\n<p>| &#096;~&#096; | **\u5f53\u524d\u7528\u6237\u7684\u5bb6\u76ee\u5f55**\u3002root \u7684\u5bb6\u5728 &#096;\/root&#096;&#xff08;\u4e0d\u662f &#096;\/home\/root&#096;&#xff09; | 09-05 \u62bd\u8003\u7b54\u4e0d\u51fa |<\/p>\n<p>| &#096;$&#096; vs &#096;#&#096; | \u63d0\u793a\u7b26\u7ed3\u5c3e&#xff1a;&#096;$&#096; \u666e\u901a\u7528\u6237\u3001&#096;#&#096; root\u3002**\u662f&#034;\u4f60\u662f\u8c01&#034;&#xff0c;\u4e0d\u662f&#034;\u5bb6\u5728\u54ea&#034;** | 09-05 \u62bd\u8003\u63aa\u8f9e\u9519 |<\/p>\n<p>| &#096;hier&#096; | **hier**archy \u780d\u540e\u534a\u622a&#xff1b;&#096;man hier&#096; &#061; FHS \u8bf4\u660e\u4e66 | 09-18 \u5b66\u8fc7&#xff0c;\u4eca\u5929\u5fd8 |<\/p>\n<p>| &#096;echo&#096; | \u628a\u540e\u9762\u7684\u4e1c\u897f\u539f\u6837\u6253\u5370\u51fa\u6765&#xff1b;&#096;echo $HOME&#096; \u770b\u53d8\u91cf\u7684\u503c | 09-18 \u7528\u8fc7&#xff0c;\u4eca\u5929\u95ee&#034;\u4ec0\u4e48\u610f\u601d&#034; |<\/p>\n<p>| &#096;useradd&#096; \u4e0d\u5e26 &#096;-m&#096; | **\u4e0d\u5efa\u5bb6\u76ee\u5f55**&#xff0c;\u53ea\u5f80 &#096;\/etc\/passwd&#096; \u767b\u8bb0 | 09-17 \u5b66\u8fc7&#xff0c;**\u4eca\u5929\u53c8\u8e29** |<\/p>\n<p>| &#034;\u767b\u8bb0\u8868 \u2260 \u5b9e\u7269&#034; | &#096;\/etc\/passwd&#096; \u5199\u7740 &#096;\/home\/s1prod&#096;&#xff0c;&#096;\/home&#096; \u91cc\u5374\u6ca1\u6709\u5b83 | 09-17 \u5b66\u8fc7&#xff0c;**\u4eca\u5929\u53c8\u8e29** |<\/p>\n<p>| &#096;grep&#096; \u662f\u6a21\u7cca\u5339\u914d | &#096;grep s1prod \/etc\/group&#096; \u4f1a\u8fde &#096;s1prod1&#096; &#096;s1prod2&#096; \u4e00\u8d77\u635e\u51fa\u6765 | 09-18 \u5b66\u8fc7&#xff0c;\u4eca\u5929\u53c8\u9047\u5230 |<\/p>\n<p>| &#096;chmod&#096; \u5b57\u6bcd\u6cd5\u7684&#034;\u5bf9\u8c01&#034; | &#096;u&#096; \/ &#096;g&#096; \/ &#096;o&#096; \/ &#096;a&#096;&#xff0c;**\u4e0d\u5199\u5c31\u662f\u6240\u6709\u4eba** | 09-08 \u5b66\u8fc7&#xff0c;\u4eca\u5929\u8bef\u4f24 |<\/p>\n<p>\u00a0<\/p>\n<p>&#8212;<\/p>\n<p>\u00a0<\/p>\n<p>## \u590d\u4e60\u62bd\u8003<\/p>\n<p>\u00a0<\/p>\n<p>&#8211; **\u62bd\u4e86 4 \u95ee**&#xff1a;\u2460 &#096;pwd&#096; \u7ba1\u4ec0\u4e48\u4e0d\u7ba1\u4ec0\u4e48 \u2461 &#096;~&#096; \u662f\u4ec0\u4e48 \/ \u4e24\u4e2a\u7528\u6237\u7684\u5bb6\u5728\u54ea \u2462 &#096;$&#096; \u548c &#096;#&#096; \u4ee3\u8868\u8c01 \u2463 \u4e3a\u4ec0\u4e48\u5b66 Linux \u800c\u4e0d\u662f PowerShell<\/p>\n<p>&#8211; **\u7ed3\u679c&#xff1a;2 \u5bf9 2 \u9519**<\/p>\n<p>\u00a0 &#8211; \u2705 &#096;$&#096; \/ &#096;#&#096; \u7684\u5bf9\u5e94\u5173\u7cfb\u5bf9&#xff08;\u4f46\u63aa\u8f9e\u8981\u62e7\u2014\u2014\u5b83\u4fe9\u662f**\u63d0\u793a\u7b26\u7b26\u53f7**&#xff0c;\u4e0d\u8868\u793a\u5bb6\u5728\u54ea&#xff09;<\/p>\n<p>\u00a0 &#8211; \u2705 &#034;\u4e3a\u4ec0\u4e48\u5b66 Linux&#034;&#xff1a;\u6293\u4f4f\u4e86&#034;\u901a\u7528\u8bed&#034;\u8fd9\u4e2a\u6838\u5fc3<\/p>\n<p>\u00a0 &#8211; \u274c &#096;pwd&#096;&#xff1a;\u9519\u7b54\u6210&#034;\u662f\u5bb6&#034;\u3002\u7528\u53cd\u4f8b\u649e\u7834\u2014\u2014&#096;cd \/etc&#096; \u540e\u6572 &#096;pwd&#096; \u4f1a\u663e\u793a\u4ec0\u4e48&#xff1f;\u7b54&#034;\u76ee\u5f55&#034;&#xff0c;\u5e76\u81ea\u5df1\u8bf4\u51fa\u4e86\u539f\u56e0&#xff08;&#034;\u5f53\u65f6\u4eba\u5c31\u5728\u5bb6\u91cc&#034;&#xff09;<\/p>\n<p>\u00a0 &#8211; \u26a0\ufe0f &#096;~&#096;&#xff1a;\u7b54\u4e0d\u51fa\u3002\u8865\u8bb2&#xff1a;&#096;~&#096; &#061; \u5f53\u524d\u7528\u6237\u7684\u5bb6&#xff1b;root \u5728 &#096;\/root&#096;&#xff0c;&#096;ar-26710&#096; \u5728 &#096;\/home\/ar-26710&#096;<\/p>\n<p>&#8211; \u4e24\u6761\u9519\u9898\u5df2\u8fdb\u4e0a\u9762\u7684\u300c\u65e7\u77e5\u8bc6\u56de\u6536\u300d\u6bb5<\/p>\n<p>\u00a0<\/p>\n<p>&#8212;<\/p>\n<p>\u00a0<\/p>\n<p>## \u4eca\u65e5\u4ea7\u51fa\u9a8c\u6536<\/p>\n<p>\u00a0<\/p>\n<p>| \u6761 | \u6807\u51c6 | \u7ed3\u679c |<\/p>\n<p>| &#8212; | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- | &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- |<\/p>\n<p>| \u2460 | \u672c\u5730 Linux \u73af\u5883\u8dd1\u901a | \u65e9\u5df2\u8fbe\u6807&#xff08;WSL2 \/ Ubuntu 26.04&#xff09; |<\/p>\n<p>| \u2461 | \u8131\u79bb\u6559\u7a0b\u72ec\u7acb\u5b8c\u6210&#xff1a;\u5efa\u7528\u6237\u7ec4 \/ \u6539\u6743\u9650 \/ \u67e5\u8fdb\u7a0b \/ kill \/ \u5199 crontab | \u2705 **\u4e94\u9879\u5168\u90e8\u771f\u673a\u8dd1\u901a** |<\/p>\n<p>| \u2462 | \u7528\u81ea\u5df1\u8bdd\u8bb2\u6e05 &#096;rwx&#096; \u4e0e &#096;750&#096; | \u2705 \u901a\u8fc7&#xff08;\u542b&#034;\u76ee\u5f55\u7684 w \u7ba1\u4ec0\u4e48&#034;\u8fd9\u4e00\u5c42&#xff09; |<\/p>\n<p>| \u2463 | 21 \u6761\u6838\u5fc3\u547d\u4ee4\u4e0d\u67e5\u7b14\u8bb0\u9ed8\u51fa\u6765 | \u2705 \u9ed8\u5199 \u2192 \u8865\u8bb2 \u2192 \u91cd\u9ed8&#xff0c;\u5168\u90e8\u9f50 |<\/p>\n<p>| \u2464 | Python \u65e5\u5fd7\u89e3\u6790\u811a\u672c\u8dd1\u901a | \u6587\u4ef6\u5df2\u5728 &#096;kb\/\u4ea7\u51fa\/\u57571-Python\u65e5\u5fd7\u7edf\u8ba1.py&#096; |<\/p>\n<p>| \u2465 | \u6743\u9650\u4e0e\u8fdb\u7a0b\u5b9e\u64cd\u8bb0\u5f55\u843d\u76d8 | \u2705 &#096;kb\/\u4ea7\u51fa\/\u57571-\u6743\u9650\u4e0e\u8fdb\u7a0b\u5b9e\u64cd\u8bb0\u5f55.md&#096; |<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;type: learning-notetitle: Linux&#xff1a;\u5757 1 \u4ea7\u51fa\u65e5\u2014\u2014\u6743\u9650\u4e0e\u8fdb\u7a0b\u5b9e\u64cddate: 2026-09-19description: 21 \u6761\u6838\u5fc3\u547d\u4ee4\u9ed8\u5199\u8865\u6f0f&#xff08;\u7f3a 10 \u6761&#xff09;\u3001\u8131\u79bb\u6559\u7a0b\u5b8c\u6210\u4e94\u9879\u5b9e\u64cd&#xff08;\u5efa\u7528\u6237\u7ec4\u5efa\u7528\u6237 \/ \u6539\u6743\u9650\u6570\u5b57\u6cd5\u4e0e\u5b57\u6bcd\u6cd5 \/ \u6539\u6240\u6709\u8005 \/ \u67e5\u8fdb\u7a0bkill \/ \u5199 crontab&#xff09;\u3001\u8e29\u8fc7\u516d\u4e2a\u5751\u3001rwx \u5bf9\u6587\u4ef6\u4e0e\u76ee\u5f55\u7684\u533a\u522b\u3001nano \u7684\u6b63\u786e\u7528\u6cd5&#8212;# 2026-09<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58],"topic":[],"class_list":["post-107632","post","type-post","status-publish","format-standard","hentry","category-server","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux Day9\u2014\u2014\u590d\u4e60\u7b2c\u4e00\u90e8\u5206\uff08\u5b9e\u64cd\u4ea7\u51fa\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/107632.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux Day9\u2014\u2014\u590d\u4e60\u7b2c\u4e00\u90e8\u5206\uff08\u5b9e\u64cd\u4ea7\u51fa\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"---type: learning-notetitle: Linux&#xff1a;\u5757 1 \u4ea7\u51fa\u65e5\u2014\u2014\u6743\u9650\u4e0e\u8fdb\u7a0b\u5b9e\u64cddate: 2026-09-19description: 21 \u6761\u6838\u5fc3\u547d\u4ee4\u9ed8\u5199\u8865\u6f0f&#xff08;\u7f3a 10 \u6761&#xff09;\u3001\u8131\u79bb\u6559\u7a0b\u5b8c\u6210\u4e94\u9879\u5b9e\u64cd&#xff08;\u5efa\u7528\u6237\u7ec4\u5efa\u7528\u6237 \/ \u6539\u6743\u9650\u6570\u5b57\u6cd5\u4e0e\u5b57\u6bcd\u6cd5 \/ \u6539\u6240\u6709\u8005 \/ \u67e5\u8fdb\u7a0bkill \/ \u5199 crontab&#xff09;\u3001\u8e29\u8fc7\u516d\u4e2a\u5751\u3001rwx \u5bf9\u6587\u4ef6\u4e0e\u76ee\u5f55\u7684\u533a\u522b\u3001nano \u7684\u6b63\u786e\u7528\u6cd5---# 2026-09\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/107632.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-19T15:24:38+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/107632.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/107632.html\",\"name\":\"Linux Day9\u2014\u2014\u590d\u4e60\u7b2c\u4e00\u90e8\u5206\uff08\u5b9e\u64cd\u4ea7\u51fa\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-19T15:24:38+00:00\",\"dateModified\":\"2026-09-19T15:24:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/107632.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/107632.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/107632.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux Day9\u2014\u2014\u590d\u4e60\u7b2c\u4e00\u90e8\u5206\uff08\u5b9e\u64cd\u4ea7\u51fa\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux Day9\u2014\u2014\u590d\u4e60\u7b2c\u4e00\u90e8\u5206\uff08\u5b9e\u64cd\u4ea7\u51fa\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/107632.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux Day9\u2014\u2014\u590d\u4e60\u7b2c\u4e00\u90e8\u5206\uff08\u5b9e\u64cd\u4ea7\u51fa\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"---type: learning-notetitle: Linux&#xff1a;\u5757 1 \u4ea7\u51fa\u65e5\u2014\u2014\u6743\u9650\u4e0e\u8fdb\u7a0b\u5b9e\u64cddate: 2026-09-19description: 21 \u6761\u6838\u5fc3\u547d\u4ee4\u9ed8\u5199\u8865\u6f0f&#xff08;\u7f3a 10 \u6761&#xff09;\u3001\u8131\u79bb\u6559\u7a0b\u5b8c\u6210\u4e94\u9879\u5b9e\u64cd&#xff08;\u5efa\u7528\u6237\u7ec4\u5efa\u7528\u6237 \/ \u6539\u6743\u9650\u6570\u5b57\u6cd5\u4e0e\u5b57\u6bcd\u6cd5 \/ \u6539\u6240\u6709\u8005 \/ \u67e5\u8fdb\u7a0bkill \/ \u5199 crontab&#xff09;\u3001\u8e29\u8fc7\u516d\u4e2a\u5751\u3001rwx \u5bf9\u6587\u4ef6\u4e0e\u76ee\u5f55\u7684\u533a\u522b\u3001nano \u7684\u6b63\u786e\u7528\u6cd5---# 2026-09","og_url":"https:\/\/www.wsisp.com\/helps\/107632.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-19T15:24:38+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/107632.html","url":"https:\/\/www.wsisp.com\/helps\/107632.html","name":"Linux Day9\u2014\u2014\u590d\u4e60\u7b2c\u4e00\u90e8\u5206\uff08\u5b9e\u64cd\u4ea7\u51fa\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-19T15:24:38+00:00","dateModified":"2026-09-19T15:24:38+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/107632.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/107632.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/107632.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux Day9\u2014\u2014\u590d\u4e60\u7b2c\u4e00\u90e8\u5206\uff08\u5b9e\u64cd\u4ea7\u51fa\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/107632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=107632"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/107632\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=107632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=107632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=107632"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=107632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}