{"id":562,"date":"2020-09-20T19:39:07","date_gmt":"2020-09-20T11:39:07","guid":{"rendered":"https:\/\/www.notown.club\/?p=562"},"modified":"2020-09-20T19:39:07","modified_gmt":"2020-09-20T11:39:07","slug":"linux%e6%96%87%e4%bb%b6%e6%9d%83%e9%99%90%e6%a6%82%e5%bf%b5","status":"publish","type":"post","link":"https:\/\/www.notown.top\/?p=562","title":{"rendered":"Linux\u6587\u4ef6\u6743\u9650\u6982\u5ff5"},"content":{"rendered":"\n<style>\n      \/**\n * prism.js Github theme based on GitHub's theme.\n * @author Sam Clarke\n *\/\ncode[class*=\"language-\"],\npre[class*=\"language-\"] {\n  color: #333;\n  background: none;\n  font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n  text-align: left;\n  white-space: pre;\n  word-spacing: normal;\n  word-break: normal;\n  word-wrap: normal;\n  line-height: 1.4;\n\n  -moz-tab-size: 8;\n  -o-tab-size: 8;\n  tab-size: 8;\n\n  -webkit-hyphens: none;\n  -moz-hyphens: none;\n  -ms-hyphens: none;\n  hyphens: none;\n}\n\n\/* Code blocks *\/\npre[class*=\"language-\"] {\n  padding: .8em;\n  overflow: auto;\n  \/* border: 1px solid #ddd; *\/\n  border-radius: 3px;\n  \/* background: #fff; *\/\n  background: #f5f5f5;\n}\n\n\/* Inline code *\/\n:not(pre) > code[class*=\"language-\"] {\n  padding: .1em;\n  border-radius: .3em;\n  white-space: normal;\n  background: #f5f5f5;\n}\n\n.token.comment,\n.token.blockquote {\n  color: #969896;\n}\n\n.token.cdata {\n  color: #183691;\n}\n\n.token.doctype,\n.token.punctuation,\n.token.variable,\n.token.macro.property {\n  color: #333;\n}\n\n.token.operator,\n.token.important,\n.token.keyword,\n.token.rule,\n.token.builtin {\n  color: #a71d5d;\n}\n\n.token.string,\n.token.url,\n.token.regex,\n.token.attr-value {\n  color: #183691;\n}\n\n.token.property,\n.token.number,\n.token.boolean,\n.token.entity,\n.token.atrule,\n.token.constant,\n.token.symbol,\n.token.command,\n.token.code {\n  color: #0086b3;\n}\n\n.token.tag,\n.token.selector,\n.token.prolog {\n  color: #63a35c;\n}\n\n.token.function,\n.token.namespace,\n.token.pseudo-element,\n.token.class,\n.token.class-name,\n.token.pseudo-class,\n.token.id,\n.token.url-reference .token.variable,\n.token.attr-name {\n  color: #795da3;\n}\n\n.token.entity {\n  cursor: help;\n}\n\n.token.title,\n.token.title .token.punctuation {\n  font-weight: bold;\n  color: #1d3e81;\n}\n\n.token.list {\n  color: #ed6a43;\n}\n\n.token.inserted {\n  background-color: #eaffea;\n  color: #55a532;\n}\n\n.token.deleted {\n  background-color: #ffecec;\n  color: #bd2c00;\n}\n\n.token.bold {\n  font-weight: bold;\n}\n\n.token.italic {\n  font-style: italic;\n}\n\n\n\/* JSON *\/\n.language-json .token.property {\n  color: #183691;\n}\n\n.language-markup .token.tag .token.punctuation {\n  color: #333;\n}\n\n\/* CSS *\/\ncode.language-css,\n.language-css .token.function {\n  color: #0086b3;\n}\n\n\/* YAML *\/\n.language-yaml .token.atrule {\n  color: #63a35c;\n}\n\ncode.language-yaml {\n  color: #183691;\n}\n\n\/* Ruby *\/\n.language-ruby .token.function {\n  color: #333;\n}\n\n\/* Markdown *\/\n.language-markdown .token.url {\n  color: #795da3;\n}\n\n\/* Makefile *\/\n.language-makefile .token.symbol {\n  color: #795da3;\n}\n\n.language-makefile .token.variable {\n  color: #183691;\n}\n\n.language-makefile .token.builtin {\n  color: #0086b3;\n}\n\n\/* Bash *\/\n.language-bash .token.keyword {\n  color: #0086b3;\n}\n\n\/* highlight *\/\npre[data-line] {\n  position: relative;\n  padding: 1em 0 1em 3em;\n}\npre[data-line] .line-highlight-wrapper {\n  position: absolute;\n  top: 0;\n  left: 0;\n  background-color: transparent;\n  display: block;\n  width: 100%;\n}\n\npre[data-line] .line-highlight {\n  position: absolute;\n  left: 0;\n  right: 0;\n  padding: inherit 0;\n  margin-top: 1em;\n  background: hsla(24, 20%, 50%,.08);\n  background: linear-gradient(to right, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0));\n  pointer-events: none;\n  line-height: inherit;\n  white-space: pre;\n}\n\npre[data-line] .line-highlight:before, \npre[data-line] .line-highlight[data-end]:after {\n  content: attr(data-start);\n  position: absolute;\n  top: .4em;\n  left: .6em;\n  min-width: 1em;\n  padding: 0 .5em;\n  background-color: hsla(24, 20%, 50%,.4);\n  color: hsl(24, 20%, 95%);\n  font: bold 65%\/1.5 sans-serif;\n  text-align: center;\n  vertical-align: .3em;\n  border-radius: 999px;\n  text-shadow: none;\n  box-shadow: 0 1px white;\n}\n\npre[data-line] .line-highlight[data-end]:after {\n  content: attr(data-end);\n  top: auto;\n  bottom: .4em;\n}\n\n      <\/style>\n      <div class=\"mume markdown-preview  \">\n\n<h2 class=\"mume-header\" id=\"%E6%96%87%E4%BB%B6%E5%B1%9E%E6%80%A7\">&#x6587;&#x4EF6;&#x5C5E;&#x6027;<\/h2>\n\n<p>&#x4F8B;&#x5B50;<\/p>\n<pre data-role=\"codeBlock\" data-info class=\"language-\"><code>dr-xr-x---.  6 root root  4096 Sep 18 18:21 .\ndr-xr-xr-x. 18 root root  4096 Sep 18 10:33 ..\n-rw-------   1 root root  2317 Sep 18 18:53 .bash_history\n-rw-r--r--.  1 root root    18 May 11  2019 .bash_logout\n-rw-r--r--.  1 root root   176 May 11  2019 .bash_profile\n-rw-r--r--.  1 root root   176 May 11  2019 .bashrc\ndrwx------   3 root root  4096 Sep 18 18:21 .config\ndrwxr-xr-x   3 root root  4096 Sep 18 18:08 C++_projects\n-rw-r--r--.  1 root root   100 May 11  2019 .cshrc\ndrwx------   2 root root  4096 Sep 18 10:33 .ssh\n-rw-r--r--.  1 root root   129 May 11  2019 .tcshrc\n-rw-------   1 root root 10601 Sep 18 18:19 .viminfo\ndrwxr-xr-x   3 root root  4096 Sep 18 18:04 .vs\n<\/code><\/pre><ul>\n<li>\n<p><strong>&#x7B2C;&#x4E00;&#x6BB5;&#x5B57;&#x7B26;&#x91CC;&#x7684;&#x9996;&#x5B57;&#x7B26;&#x4EE3;&#x8868;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x662F;&#x76EE;&#x5F55;&#x3001;&#x6587;&#x4EF6;&#x6216;&#x94FE;&#x63A5;&#x6587;&#x4EF6;<\/strong>&#x7B49;<\/p>\n<ul>\n<li>&#x5F53;&#x4E3A;<strong>d<\/strong>&#x65F6;,&#x8868;&#x793A;&#x76EE;&#x5F55;<\/li>\n<li>&#x5F53;&#x4E3A;-&#x65F6;&#xFF0C;&#x8868;&#x793A;&#x6587;&#x4EF6;<\/li>\n<li>&#x5F53;&#x4E3A;<strong>l<\/strong>&#x65F6;&#xFF0C;&#x8868;&#x793A;&#x94FE;&#x63A5;&#x6587;&#x4EF6;<\/li>\n<li>&#x5F53;&#x4E3A;<strong>b<\/strong>&#x65F6;&#xFF0C;&#x8868;&#x793A;&#x4E3A;&#x8BBE;&#x5907;&#x6587;&#x4EF6;&#x91CC;&#x9762;&#x53EF;&#x4F9B;&#x5B58;&#x50A8;&#x7684;&#x5468;&#x8FB9;&#x8BBE;&#x5907;&#xFF08;&#x53EF;&#x6309;&#x5757;&#x968F;&#x673A;&#x8BFB;&#x5199;&#x8BBE;&#x5907;&#xFF09;<\/li>\n<li>&#x5F53;&#x4E3A;<strong>c<\/strong>&#x65F6;&#xFF0C;&#x8868;&#x793A;&#x4E3A;&#x8BBE;&#x5907;&#x6587;&#x4EF6;&#x91CC;&#x9762;&#x7684;&#x4E32;&#x884C;&#x7AEF;&#x53E3;&#x8BBE;&#x5907;&#xFF08;&#x5982;&#x9F20;&#x6807;&#x952E;&#x76D8;&#xFF09;<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>&#x7B2C;&#x4E00;&#x6BB5;&#x5B57;&#x7B26;&#x91CC;&#x63A5;&#x4E0B;&#x6765;&#x7684;&#x5B57;&#x7B26;&#xFF0C;&#x4EE5;&#x4E09;&#x4E2A;&#x4E3A;&#x4E00;&#x7EC4;&#xFF0C;&#x4E14;&#x5747;&#x4E3A;rwx-&#x7684;&#x7EC4;&#x5408;&#xFF0C;&#x5176;&#x4E2D;r&#x8868;&#x793A;&#x53EF;&#x8BFB;&#xFF0C;w&#x8868;&#x793A;&#x53EF;&#x5199;&#xFF0C;x&#x8868;&#x793A;&#x53EF;&#x6267;&#x884C;&#xFF0C;&#x5982;&#x679C;&#x662F;-&#xFF0C;&#x8868;&#x793A;&#x7F3A;&#x5C11;&#x8FD9;&#x4E2A;&#x6743;&#x9650;<\/strong>&#x3002;<\/p>\n<ul>\n<li>&#x7B2C;&#x4E00;&#x7EC4;&#x4E3A;<strong>&#x6587;&#x4EF6;&#x62E5;&#x6709;&#x8005;<\/strong>&#x53EF;&#x5177;&#x5907;&#x7684;&#x6743;&#x9650;<\/li>\n<li>&#x7B2C;&#x4E8C;&#x7EC4;&#x4E3A;&#x52A0;&#x5165;&#x6B64;<strong>&#x7528;&#x6237;&#x7EC4;<\/strong>&#x7684;&#x8D26;&#x53F7;&#x7684;&#x6743;&#x9650;<\/li>\n<li>&#x7B2C;&#x4E09;&#x7EC4;&#x4E3A;&#x975E;&#x672C;&#x4EBA;&#x4E14;&#x6CA1;&#x6709;&#x52A0;&#x5165;&#x672C;&#x7528;&#x6237;&#x7EC4;&#x7684;<strong>&#x5176;&#x5B83;&#x8D26;&#x53F7;&#x7684;&#x6743;&#x9650;<\/strong><\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>&#x7B2C;&#x4E8C;&#x6BB5;&#x5B57;&#x7B26;&#x8868;&#x793A;&#x6709;&#x591A;&#x5C11;&#x6587;&#x4EF6;&#x540D;&#x94FE;&#x63A5;&#x5230;&#x6B64;&#x8282;&#x70B9;<\/strong><\/p>\n<ul>\n<li>&#x6BCF;&#x4E2A;&#x6587;&#x4EF6;&#x90FD;&#x4F1A;&#x5C06;&#x5B83;&#x7684;&#x6743;&#x9650;&#x4E0E;&#x5C5E;&#x6027;&#x8BB0;&#x5F55;&#x5230;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;&#x7684;inode&#x4E2D;&#xFF0C;&#x4E0D;&#x8FC7;&#x6211;&#x4EEC;&#x4F7F;&#x7528;&#x7684;&#x76EE;&#x5F55;&#x6811;&#x5374;&#x662F;&#x4F7F;&#x7528;&#x6587;&#x4EF6;&#x540D;&#x6765;&#x8BB0;&#x5F55;&#xFF0C;&#x56E0;&#x6B64;&#x6BCF;&#x4E2A;&#x6587;&#x4EF6;&#x540D;&#x90FD;&#x4F1A;&#x94FE;&#x63A5;&#x5230;&#x4E00;&#x4E2A;inode&#xFF0C;&#x8FD9;&#x4E2A;&#x5C5E;&#x6027;&#x5C31;&#x662F;&#x8BB0;&#x5F55;&#x6709;&#x591A;&#x5C11;&#x4E0D;&#x540C;&#x7684;&#x6587;&#x4EF6;&#x540D;&#x94FE;&#x63A5;&#x5230;&#x540C;&#x4E00;&#x4E2A;inode&#x53F7;&#x3002;<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>&#x7B2C;&#x4E09;&#x6BB5;&#x5B57;&#x7B26;&#x8868;&#x793A;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#xFF08;&#x76EE;&#x5F55;&#xFF09;&#x62E5;&#x6709;&#x8005;&#x7684;&#x8D26;&#x53F7;<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>&#x7B2C;&#x56DB;&#x6BB5;&#x5B57;&#x7B26;&#x8868;&#x793A;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x7684;&#x6240;&#x5C5E;&#x7528;&#x6237;&#x7EC4;<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>&#x7B2C;&#x4E94;&#x6BB5;&#x5B57;&#x7B26;&#x8868;&#x793A;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x7684;&#x5BB9;&#x91CF;&#x5927;&#x5C0F;<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>&#x7B2C;&#x516D;&#x6BB5;&#x5B57;&#x7B26;&#x8868;&#x793A;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x7684;&#x521B;&#x5EFA;&#x65E5;&#x671F;&#x6216;&#x6700;&#x8FD1;&#x4FEE;&#x6539;&#x65E5;&#x671F;<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>&#x7B2C;&#x4E03;&#x6BB5;&#x8868;&#x793A;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x7684;&#x6587;&#x4EF6;&#x540D;<\/strong><\/p>\n<\/li>\n<\/ul>\n<h3 class=\"mume-header\" id=\"note\">Note<\/h3>\n\n<pre data-role=\"codeBlock\" data-info class=\"language-\"><code>drwxr-xr-- 1 test1 testgroup 5238 Jun 19 10:25 groups\/\n<\/code><\/pre><p>&#x4E0A;&#x9762;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x5939;&#x5176;&#x5B83;&#x4EBA;&#x56E0;&#x4E3A;&#x53EA;&#x6709;<strong>r<\/strong>&#x6743;&#x9650;&#xFF0C;&#x800C;&#x6CA1;&#x6709;<strong>x<\/strong>&#x6743;&#x9650;&#xFF0C;&#x6545;&#x4E0D;&#x80FD;&#x8FDB;&#x5165;&#x76EE;&#x5F55;&#xFF0C;<strong>testgroup<\/strong>&#x7684;&#x6210;&#x5458;&#x80FD;&#x8FDB;&#x5165;&#x6B64;&#x76EE;&#x5F55;&#xFF0C;&#x5728;&#x8BE5;&#x76EE;&#x5F55;&#x5DE5;&#x4F5C;&#xFF0C;&#x4F46;&#x4E0D;&#x80FD;&#x5BF9;&#x8BE5;&#x76EE;&#x5F55;&#x8FDB;&#x884C;&#x5199;&#x5165;&#x64CD;&#x4F5C;&#x3002;&#x800C;&#x6587;&#x4EF6;&#x62E5;&#x6709;&#x8005;<strong>test1<\/strong>&#x53EF;&#x4EE5;&#x5728;&#x672C;&#x76EE;&#x5F55;&#x8FDB;&#x884C;&#x4EFB;&#x4F55;&#x5DE5;&#x4F5C;<\/p>\n<p>&#x5BF9;&#x4E8E;<strong>&#x6587;&#x4EF6;&#x5939;<\/strong>&#x800C;&#x8A00;&#xFF0C;<\/p>\n<ul>\n<li><strong>&#x8BFB;&#x6743;&#x9650;<\/strong>&#x8868;&#x793A;&#x5177;&#x6709;<strong>&#x8BFB;&#x53D6;&#x76EE;&#x5F55;&#x7ED3;&#x6784;&#x5217;&#x8868;&#x7684;&#x6743;&#x9650;<\/strong>&#xFF0C;&#x6240;&#x4EE5;&#x5F53;&#x4F60;&#x5177;&#x6709;&#x8BFB;&#x53D6;&#x4E00;&#x4E2A;&#x76EE;&#x5F55;&#x7684;&#x6743;&#x9650;&#x65F6;&#xFF0C;&#x8868;&#x793A;&#x4F60;&#x53EF;&#x4EE5;&#x7528;ls&#x547D;&#x4EE4;&#x67E5;&#x8BE2;&#x8BE5;&#x76EE;&#x5F55;&#x4E0B;&#x6587;&#x4EF6;&#x540D;&#x6570;&#x636E;<\/li>\n<li><strong>&#x5199;&#x6743;&#x9650;<\/strong>&#x8868;&#x793A;&#x5177;&#x6709;<strong>&#x6539;&#x52A8;&#x8BE5;&#x76EE;&#x5F55;&#x7ED3;&#x6784;&#x5217;&#x8868;&#x7684;&#x6743;&#x9650;<\/strong>&#xFF0C;&#x76F8;&#x5F53;&#x4E8E;&#x62E5;&#x6709;&#x4EE5;&#x4E0B;&#x6743;&#x9650;\n<ul>\n<li><strong>&#x5EFA;&#x7ACB;&#x65B0;&#x7684;&#x6587;&#x4EF6;&#x4E0E;&#x76EE;&#x5F55;<\/strong><\/li>\n<li><strong>&#x5220;&#x9664;&#x5DF2;&#x6709;&#x7684;&#x6587;&#x4EF6;&#x4E0E;&#x76EE;&#x5F55;<\/strong>&#xFF08;&#x800C;&#x4E0D;&#x8BBA;&#x8BE5;&#x6587;&#x4EF6;&#x672C;&#x8EAB;&#x7684;&#x6743;&#x9650;&#xFF09;<\/li>\n<li><strong>&#x5C06;&#x5DF2;&#x6709;&#x7684;&#x6587;&#x4EF6;&#x6216;&#x76EE;&#x5F55;&#x66F4;&#x540D;<\/strong><\/li>\n<li><strong>&#x79FB;&#x52A8;&#x8BE5;&#x76EE;&#x5F55;&#x5185;&#x7684;&#x6587;&#x4EF6;&#x3001;&#x76EE;&#x5F55;&#x7684;&#x4F4D;&#x7F6E;<\/strong><\/li>\n<\/ul>\n<\/li>\n<li><strong>&#x6267;&#x884C;&#x6743;&#x9650;<\/strong>&#x8868;&#x793A;<strong>&#x8FDB;&#x5165;&#x8BE5;&#x76EE;&#x5F55;<\/strong>&#xFF0C;&#x5DF2;&#x6210;&#x4E3A;&#x5DE5;&#x4F5C;&#x76EE;&#x5F55;&#x7684;&#x7528;&#x9014;&#xFF08;cd&#xFF09;<\/li>\n<\/ul>\n<h2 class=\"mume-header\" id=\"%E4%BF%AE%E6%94%B9%E6%96%87%E4%BB%B6%E5%B1%9E%E6%80%A7%E4%B8%8E%E6%9D%83%E9%99%90\">&#x4FEE;&#x6539;&#x6587;&#x4EF6;&#x5C5E;&#x6027;&#x4E0E;&#x6743;&#x9650;<\/h2>\n\n<p>&#x4E09;&#x4E2A;&#x5E38;&#x7528;&#x547D;&#x4EE4;<\/p>\n<ul>\n<li><strong>chgrp: &#x4FEE;&#x6539;&#x6587;&#x4EF6;&#x6240;&#x5C5E;&#x7528;&#x6237;&#x7EC4;<\/strong>\n<ul>\n<li>&#x683C;&#x5F0F;&#xFF1A;<strong>chgrp &#x7528;&#x6237;&#x7EC4;&#x540D; &#x6587;&#x4EF6;&#x540D;<\/strong><\/li>\n<li>&#x8981;&#x4FEE;&#x6539;&#x7684;&#x7EC4;&#x540D;&#x5FC5;&#x987B;&#x8981;&#x5728;\/etc\/group&#x6587;&#x4EF6;&#x4E2D;&#x5B58;&#x5728;&#x624D;&#x884C;<\/li>\n<\/ul>\n<\/li>\n<li><strong>chown: &#x4FEE;&#x6539;&#x6587;&#x4EF6;&#x62E5;&#x6709;&#x8005;<\/strong>\n<ul>\n<li>&#x683C;&#x5F0F;&#xFF1A;<strong>chown &#x7528;&#x6237;&#x540D; &#x6587;&#x4EF6;<\/strong><\/li>\n<li>&#x8981;&#x4FEE;&#x6539;&#x7684;&#x7528;&#x6237;&#x540D;&#x5FC5;&#x987B;&#x5728;\/etc\/passwd&#x6587;&#x4EF6;&#x4E2D;&#x5B58;&#x5728;&#x624D;&#x884C;<\/li>\n<li><strong>&#x5728;chown&#x4E0A;&#x52A0;&#x4E0A;-R&#x9009;&#x9879;&#x53EF;&#x8FDE;&#x76EE;&#x5F55;&#x4E0B;&#x7684;&#x6240;&#x6709;&#x5B50;&#x76EE;&#x5F55;&#x6216;&#x6587;&#x4EF6;&#x540C;&#x65F6;&#x66F4;&#x6539;&#x6587;&#x4EF6;&#x62E5;&#x6709;&#x8005;<\/strong>&#x3002;<\/li>\n<\/ul>\n<\/li>\n<li><strong>chmod: &#x4FEE;&#x6539;&#x6587;&#x4EF6;&#x6743;&#x9650;<\/strong>\n<ul>\n<li>&#x683C;&#x5F0F;&#xFF1A;<strong>chmod &#x4E09;&#x4F4D;&#x6570;&#x5B57; &#x6587;&#x4EF6;<\/strong> \/ <strong>chmod u=&#x6743;&#x9650;,g=&#x6743;&#x9650;,o=&#x6743;&#x9650; &#x6587;&#x4EF6;<\/strong><\/li>\n<li>r&#xFF1A;4&#xFF0C;w&#xFF1A;2&#xFF0C;x&#xFF1A;1&#xFF0C;&#x6240;&#x4EE5;rwx=4+2+1=7&#xFF0C;rw=6&#xFF0C;wx=3&#xFF0C;rx=5<\/li>\n<li>&#x5728;&#x7B26;&#x53F7;&#x7C7B;&#x578B;&#x4FEE;&#x6539;&#x6587;&#x4EF6;&#x6743;&#x9650;&#x4E2D;&#xFF0C;u&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x4EF6;&#x62E5;&#x6709;&#x8005;&#xFF0C;g&#x76F8;&#x5F53;&#x4E8E;&#x7528;&#x6237;&#x7EC4;&#xFF0C;o&#x76F8;&#x5F53;&#x4E8E;&#x5176;&#x4ED6;&#x4EBA;&#xFF0C;a&#x4E3A;&#x5168;&#x90E8;&#x4EBA;&#xFF0C;+&#x53F7;&#x8868;&#x793A;&#x6DFB;&#x52A0;&#xFF0C;-&#x53F7;&#x8868;&#x793A;&#x79FB;&#x9664;&#xFF0C;=&#x53F7;&#x8868;&#x793A;&#x8BBE;&#x7F6E;&#x3002;<\/li>\n<li>&#x5219;<strong>chmod 777 &#x6587;&#x4EF6;&#x540D;<\/strong> &#x76F8;&#x5F53;&#x4E8E; <strong>chmod a=rwx &#x6587;&#x4EF6;&#x540D;<\/strong> &#x76F8;&#x5F53;&#x4E8E; <strong>chmod ugo=rwx &#x6587;&#x4EF6;&#x540D;<\/strong> &#x76F8;&#x5F53;&#x4E8E; <strong>chmod u=rwx,g=rwx,o=rwx &#x6587;&#x4EF6;&#x540D;<\/strong><\/li>\n<li>&#x52A0;&#x4E0A;-R&#x9009;&#x9879;&#x53EF;&#x5BF9;&#x76EE;&#x5F55;&#x4E0B;&#x6240;&#x6709;&#x5B50;&#x76EE;&#x5F55;&#x6216;&#x6587;&#x4EF6;&#x540C;&#x65F6;&#x66F4;&#x6539;&#x6743;&#x9650;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2 class=\"mume-header\" id=\"%E6%96%87%E4%BB%B6%E7%A7%8D%E7%B1%BB%E5%8F%8A%E6%89%A9%E5%B1%95%E5%90%8D\">&#x6587;&#x4EF6;&#x79CD;&#x7C7B;&#x53CA;&#x6269;&#x5C55;&#x540D;<\/h2>\n\n<ul>\n<li>&#x6587;&#x4EF6;&#x79CD;&#x7C7B;\n<ul>\n<li><strong>&#x5E38;&#x89C4;&#x6587;&#x4EF6;<\/strong>&#xFF0C;&#x5C5E;&#x6027;&#x4E3A;[-]\n<ul>\n<li>&#x7EAF;&#x6587;&#x672C;&#x6587;&#x4EF6;&#xFF08;ASCll&#xFF09;&#xFF0C;&#x4EBA;&#x7C7B;&#x53EF;&#x76F4;&#x63A5;&#x8BFB;&#x53D6;&#x5230;&#x7684;&#x6570;&#x636E;<\/li>\n<li>&#x4E8C;&#x8FDB;&#x5236;&#x6587;&#x4EF6;&#xFF08;binary&#xFF09;<\/li>\n<li>&#x6570;&#x636E;&#x6587;&#x4EF6;&#xFF08;data&#xFF09;&#xFF0C;&#x6709;&#x4E9B;&#x7279;&#x5B9A;&#x683C;&#x5F0F;&#x7684;&#x6587;&#x4EF6;&#x79F0;&#x4E3A;&#x6570;&#x636E;&#x6587;&#x4EF6;&#xFF0C;&#x7528;&#x5E38;&#x89C4;&#x547D;&#x4EE4;&#x5982;cat&#x8BFB;&#x53D6;&#x4F1A;&#x662F;&#x4E71;&#x7801;&#xFF0C;&#x800C;&#x7528;last&#x547D;&#x4EE4;&#x53EF;&#x4EE5;&#x8BFB;&#x51FA;&#x6765;<\/li>\n<\/ul>\n<\/li>\n<li><strong>&#x76EE;&#x5F55;<\/strong>&#xFF0C;&#x5C5E;&#x6027;&#x4E3A;[d]<\/li>\n<li><strong>&#x94FE;&#x63A5;&#x6587;&#x4EF6;<\/strong>&#xFF0C;&#x5C5E;&#x6027;&#x4E3A;[l]<\/li>\n<li><strong>&#x8BBE;&#x5907;&#x4E0E;&#x8BBE;&#x5907;&#x6587;&#x4EF6;<\/strong>&#xFF0C;&#x4E0E;&#x7CFB;&#x7EDF;&#x5468;&#x8FB9;&#x53CA;&#x5B58;&#x50A8;&#x7B49;&#x76F8;&#x5173;&#x7684;&#x4E00;&#x4E9B;&#x6587;&#x4EF6;&#xFF0C;&#x901A;&#x5E38;&#x96C6;&#x4E2D;&#x5728;\/dev&#x8FD9;&#x4E2A;&#x76EE;&#x5F55;&#x4E0B;\n<ul>\n<li><strong>&#x533A;&#x5757;&#x8BBE;&#x5907;&#x6587;&#x4EF6;<\/strong>&#xFF0C;&#x5B58;&#x50A8;&#x4E00;&#x4E9B;&#x6570;&#x636E;&#xFF0C;&#x4EE5;&#x63D0;&#x4F9B;&#x7CFB;&#x7EDF;&#x968F;&#x673A;&#x5B58;&#x53D6;&#x7684;&#x63A5;&#x53E3;&#x8BBE;&#x5907;&#xFF08;&#x786C;&#x76D8;&#xFF0C;&#x8F6F;&#x76D8;&#xFF09;&#xFF0C;&#x5C5E;&#x6027;&#x4E3A;[b]<\/li>\n<li><strong>&#x5B57;&#x7B26;&#x8BBE;&#x5907;&#x6587;&#x4EF6;<\/strong>&#xFF0C;&#x4E00;&#x4E9B;&#x4E32;&#x884C;&#x7AEF;&#x53E3;&#x7684;&#x63A5;&#x53E3;&#x8BBE;&#x5907;&#xFF08;&#x9F20;&#x6807;&#x3001;&#x952E;&#x76D8;&#xFF09;&#xFF0C;&#x5C5E;&#x6027;&#x4E3A;[c]<\/li>\n<\/ul>\n<\/li>\n<li><strong>&#x6570;&#x636E;&#x63A5;&#x53E3;&#x6587;&#x4EF6;<\/strong>&#xFF08;sockets&#xFF09;&#xFF0C;&#x5C5E;&#x6027;&#x4E3A;[s]&#x3002;&#x901A;&#x5E38;&#x7528;&#x4E8E;&#x5728;&#x7F51;&#x7EDC;&#x4E0A;&#x8FDB;&#x884C;&#x6570;&#x636E;&#x4EA4;&#x6362;&#x3002;<\/li>\n<li><strong>&#x6570;&#x636E;&#x8F93;&#x9001;&#x6587;&#x4EF6;<\/strong>&#xFF08;FIFO&#xFF0C;pipe&#xFF09;&#xFF1A;&#x4E00;&#x79CD;&#x7279;&#x6B8A;&#x7684;&#x6587;&#x4EF6;&#x7C7B;&#x578B;&#xFF0C;&#x7528;&#x4E8E;&#x89E3;&#x51B3;&#x591A;&#x4E2A;&#x7A0B;&#x5E8F;&#x540C;&#x65F6;&#x8BFB;&#x5199;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x6240;&#x9020;&#x6210;&#x7684;&#x9519;&#x8BEF;&#x95EE;&#x9898;&#xFF0C;FIFO&#x5373;&#x5148;&#x8FDB;&#x5148;&#x51FA;&#xFF0C;pipe&#x5373;&#x7BA1;&#x9053;&#xFF0C;&#xFF0C;&#x5C5E;&#x6027;&#x4E3A;[p]<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n      <\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#x6587;&#x4EF6;&#x5C5E;&#x6027; &#x4F8B;&#x5B50; dr-xr&hellip;<a href=\"https:\/\/www.notown.top\/?p=562\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Linux\u6587\u4ef6\u6743\u9650\u6982\u5ff5<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[17],"tags":[],"class_list":["post-562","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.notown.top\/index.php?rest_route=\/wp\/v2\/posts\/562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.notown.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.notown.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.notown.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.notown.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=562"}],"version-history":[{"count":7,"href":"https:\/\/www.notown.top\/index.php?rest_route=\/wp\/v2\/posts\/562\/revisions"}],"predecessor-version":[{"id":570,"href":"https:\/\/www.notown.top\/index.php?rest_route=\/wp\/v2\/posts\/562\/revisions\/570"}],"wp:attachment":[{"href":"https:\/\/www.notown.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.notown.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.notown.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}