﻿{"id":4064,"date":"2020-11-19T17:56:20","date_gmt":"2020-11-19T09:56:20","guid":{"rendered":"https:\/\/www.linuxmi.com\/?p=4064"},"modified":"2020-11-19T17:57:20","modified_gmt":"2020-11-19T09:57:20","slug":"35-linux-minling","status":"publish","type":"post","link":"https:\/\/www.linuxmi.com\/35-linux-minling.html","title":{"rendered":"\u60a8\u5e94\u8be5\u77e5\u9053\u768435\u4e2a\u91cd\u8981\u7684Linux\u547d\u4ee4"},"content":{"rendered":"<p>\u60a8\u662fLinux\u65b0\u624b\u8fd8\u662f\u53ea\u662f\u758f\u4e8e\u4f7f\u7528\u4e86\uff1f\u672c\u6587\u4ecb\u7ecd\u7684\u662f\u60a8\u9700\u8981\u4e86\u89e3\u7684\u6240\u6709\u547d\u4ee4\u3002\u53ef\u4ee5\u5c06\u6b64\u89c6\u4e3aLinux\u7ec8\u7aef\u7684\u57fa\u672c\u53c2\u8003\u3002\u8fd9\u4e5f\u9002\u7528\u4e8emacOS\u547d\u4ee4\u884c\u3002<\/p>\n<p><strong>\u7ec8\u7aef\u7684\u5fc5\u5907\u5de5\u5177\u5305<\/strong><\/p>\n<p>Linux\u5305\u542b\u4e86\u5927\u91cf\u547d\u4ee4\uff0c\u4f46\u662f\u6211\u4eec\u5728\u8fd9\u91cc\u9009\u62e9\u4e86\u5176\u4e2d\u768435\u4e2a\u6700\u91cd\u8981\u7684\u547d\u4ee4\u3002\u5b66\u4e60\u8fd9\u4e9b\u547d\u4ee4\uff0c\u60a8\u5c06\u66f4\u52a0\u719f\u6089Linux\u547d\u4ee4\u63d0\u793a\u7b26\u3002<\/p>\n<p>\u4e0b\u9762\u7684\u5217\u8868\u6309\u5b57\u6bcd\u987a\u5e8f\u663e\u793a\u3002\u547d\u4ee4\u5728\u5217\u8868\u4e2d\u7684\u4f4d\u7f6e\u5e76\u4e0d\u4ee3\u8868\u5b83\u7684\u6709\u7528\u6027\u6216\u7b80\u5355\u6027\u3002\u6709\u5173\u547d\u4ee4\u7528\u6cd5\u7684\u66f4\u591a\u8bf4\u660e\uff0c\u8bf7\u53c2\u9605\u5176\u624b\u518c\u9875\u3002\u5f53\u7136man\u547d\u4ee4\u5728\u6211\u4eec\u7684\u5217\u8868\u4e2d\uff0c\u5b83\u662fmanual\u7684\u7f29\u5199\u3002<\/p>\n<p><strong>1\u3001alias\uff08\u522b\u540d\uff09<\/strong><\/p>\n<p>\u4f7f\u7528alias\u547d\u4ee4\u53ef\u4ee5\u7ed9\u547d\u4ee4\u6216\u547d\u4ee4\u5e8f\u5217\u6307\u5b9a\u81ea\u5df1\u7684\u540d\u79f0\u3002\u7136\u540e\uff0c\u60a8\u53ef\u4ee5\u8f93\u5165\u60a8\u7684\u7b80\u79f0\uff0c\u7136\u540eShell\u5c06\u4e3a\u60a8\u6267\u884c\u547d\u4ee4\u6216\u547d\u4ee4\u5e8f\u5217\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ alias cls=clear<\/p>\n<p>\u8fd9\u5c06\u8bbe\u7f6e\u4e00\u4e2a\u540d\u4e3acls\u7684\u522b\u540d\u3002\u8fd9\u5c06\u662f\u7684\u53e6\u4e00\u4e2a\u540d\u79f0clear\u3002\u5f53\u60a8\u952e\u5165cls\u65f6\uff0c\u5b83\u5c06\u50cf\u60a8\u952e\u5165clear\u4e00\u6837\u6e05\u9664\u5c4f\u5e55\u3002\u4f60\u7684\u522b\u540d\u51cf\u5c11\u4e86\u4e00\u4e9b\u6309\u952e\u3002<\/p>\n<p>\u522b\u540d\u53ef\u80fd\u6bd4\u8fd9\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u590d\u6742\u5f97\u591a\u3002\u8fd9\u91cc\u6709\u4e00\u4e2a\u540d\u4e3apf(\u7528\u4e8e\u8fdb\u7a0b\u67e5\u627e)\u7684\u522b\u540d\uff0c\u5b83\u53ea\u662f\u7a0d\u5fae\u590d\u6742\u4e00\u70b9\u3002\u8bf7\u6ce8\u610f\u5728\u547d\u4ee4\u5e8f\u5217\u5468\u56f4\u4f7f\u7528\u4e86\u5f15\u53f7\u3002\u5982\u679c\u547d\u4ee4\u5e8f\u5217\u4e2d\u6709\u7a7a\u683c\uff0c\u8fd9\u662f\u5fc5\u9700\u7684\u3002\u8fd9\u4e2a\u522b\u540d\u4f7f\u7528ps\u547d\u4ee4\u5217\u51fa\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b\uff0c\u7136\u540e\u5c06\u5b83\u4eec\u901a\u8fc7grep\u547d\u4ee4\u4f20\u8f93\u3002grep\u547d\u4ee4\u5728ps\u7684\u8f93\u51fa\u4e2d\u67e5\u627e\u4e0e\u547d\u4ee4\u884c\u53c2\u6570$1\u5339\u914d\u7684\u6761\u76ee\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ alias pf=&#8221;ps -e | grep $1&#8243;<\/p>\n<p>\u5982\u679c\u60a8\u60f3\u8981\u53d1\u73b0shutter\u8fdb\u7a0b\u7684\u8fdb\u7a0bID (PID)\u2014\u2014\u6216\u8005\u60f3\u8981\u77e5\u9053shutter\u662f\u5426\u5728\u8fd0\u884c\u2014\u2014\u60a8\u53ef\u4ee5\u50cf\u8fd9\u6837\u4f7f\u7528\u522b\u540d\u3002\u8f93\u5165pf\uff0c\u7a7a\u683c\uff0c\u4ee5\u53ca\u4f60\u611f\u5174\u8da3\u7684\u8fdb\u7a0b\u540d\u79f0:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ pf shutter<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4068\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/alias.png\" alt=\"\" width=\"946\" height=\"239\" \/><\/p>\n<p>\u5f53\u7ec8\u7aef\u5173\u95ed\u540e\uff0c\u547d\u4ee4\u884c\u4e0a\u5b9a\u4e49\u7684\u522b\u540d\u4e5f\u6d88\u5931\u4e86\u3002\u8981\u4f7f\u60a8\u7684\u522b\u540d\u6c38\u4e45\u53ef\u7528\uff0c\u8bf7\u5c06\u5176\u6dfb\u52a0\u5230.bash_aliases\u4e3b\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u4e2d\u3002<\/p>\n<p><strong>2\u3001cat<\/strong><\/p>\n<p>cat\u547d\u4ee4(\u201cconcatenate\u201d\u7684\u7f29\u5199)\u5c06\u6587\u4ef6\u7684\u5185\u5bb9\u5217\u51fa\u5230\u7ec8\u7aef\u7a97\u53e3\u3002\u8fd9\u6bd4\u5728\u7f16\u8f91\u5668\u4e2d\u6253\u5f00\u6587\u4ef6\u8981\u5feb\uff0c\u800c\u4e14\u60a8\u4e0d\u53ef\u80fd\u610f\u5916\u5730\u4fee\u6539\u6587\u4ef6\u3002\u8981\u8bfb\u53d6.bash_log_out\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u5728\u4e3b\u76ee\u5f55\u662f\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u7684\u60c5\u51b5\u4e0b\uff0c\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4:<\/p>\n<p>linuxmi@linuxmi:~$ cat .bash_logout<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4069\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/cat.png\" alt=\"\" width=\"946\" height=\"354\" \/><\/p>\n<p>\u5982\u679c\u6587\u4ef6\u7684\u884c\u6570\u8d85\u8fc7\u7ec8\u7aef\u7a97\u53e3\u4e2d\u7684\u884c\u6570\uff0c\u90a3\u4e48\u6587\u672c\u62c9\u5230\u7684\u901f\u5ea6\u4f1a\u5feb\u5f97\u8ba9\u60a8\u65e0\u6cd5\u9605\u8bfb\u3002\u60a8\u53ef\u4ee5\u5c06\u6765\u81eacat\u7684\u8f93\u51fa\u901a\u8fc7less\u7ba1\u9053\u4f20\u8f93\uff0c\u4ee5\u4f7f\u6d41\u7a0b\u66f4\u6613\u4e8e\u7ba1\u7406\u3002\u4f7f\u7528less\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5411\u4e0a\u548c\u5411\u4e0b\u7bad\u5934\u952e\u3001PgUp\u548cPgDn\u952e\u4ee5\u53ca\u4e3b\u952e\u548c\u7ed3\u675f\u952e\u5728\u6587\u4ef6\u4e2d\u5411\u524d\u548c\u5411\u540e\u6eda\u52a8\u3002\u952e\u5165q\u9000\u51faless\u3002<\/p>\n<p>linuxmi@linuxmi:~$ cat .bashrc | less<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4070\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/cat-less.png\" alt=\"\" width=\"946\" height=\"653\" \/><\/p>\n<p><strong>3\u3001cd<\/strong><\/p>\n<p>cd\u547d\u4ee4\u5c06\u66f4\u6539\u5f53\u524d\u76ee\u5f55\u3002\u5b83\u5c06\u60a8\u5e26\u5230\u6587\u4ef6\u7cfb\u7edf\u4e2d\u7684\u65b0\u4f4d\u7f6e\u3002<\/p>\n<p>\u5982\u679c\u8981\u5207\u6362\u5230\u5f53\u524d\u76ee\u5f55\u5185\u7684\u76ee\u5f55\uff0c\u5219\u53ea\u9700\u952e\u5165cd\u548c\u53e6\u4e00\u4e2a\u76ee\u5f55\u7684\u540d\u79f0\u5373\u53ef\u3002<\/p>\n<p>linuxmi@linuxmi:~$ cd www.linuxmi.com<\/p>\n<p>\u5982\u679c\u8981\u5207\u6362\u5230\u6587\u4ef6\u7cfb\u7edf\u76ee\u5f55\u6811\u4e2d\u5176\u4ed6\u4f4d\u7f6e\u7684\u76ee\u5f55\uff0c\u8bf7\u4f7f\u7528\u524d\u5bfc\/\u8868\u793a\u76ee\u5f55\u8def\u5f84\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ cd \/usr\/local\/bin<\/p>\n<p>\u8981\u5feb\u901f\u8fd4\u56de\u60a8\u7684\u4e3b\u76ee\u5f55\uff0c\u8bf7\u4f7f\u7528 ~\uff08\u6ce2\u6d6a\u53f7\uff09\u5b57\u7b26\u4f5c\u4e3a\u76ee\u5f55\u540d\u3002<\/p>\n<p>linuxmi@linuxmi:\/usr\/local\/bin$ cd<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4071\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/cd.png\" alt=\"\" width=\"946\" height=\"216\" \/>\u00a0\u53e6\u4e00\u4e2a\u6280\u5de7\uff1a\u53ef\u4ee5\u4f7f\u7528\u53cc\u70b9\u7b26\u53f7..\u8868\u793a\u5f53\u524d\u76ee\u5f55\u7684\u7236\u76ee\u5f55\u3002\u60a8\u53ef\u4ee5\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u5165\u76ee\u5f55\uff1a<\/p>\n<p>cd ..<\/p>\n<p>\u5047\u8bbe\u60a8\u5728\u76ee\u5f55\u4e2d\u3002\u7236\u76ee\u5f55\u4e2d\u8fd8\u6709\u5176\u4ed6\u76ee\u5f55\uff0c\u4ee5\u53ca\u60a8\u5f53\u524d\u6240\u5728\u7684\u76ee\u5f55\u3002\u8981\u66f4\u6539\u4e3a\u5176\u4ed6\u76ee\u5f55\u4e4b\u4e00\uff0c\u53ef\u4ee5\u4f7f\u7528..\u7b26\u53f7\u7f29\u77ed\u8f93\u5165\u7684\u5185\u5bb9\u3002<\/p>\n<p>cd ..\/games<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4072\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/cd2.png\" alt=\"\" width=\"731\" height=\"149\" \/><\/p>\n<p><strong>4\u3001chmod\uff08\u4fee\u6539\u6587\u4ef6\u6743\u9650\uff09<\/strong><\/p>\n<p>chmod\u547d\u4ee4\u8bbe\u7f6e\u6587\u4ef6\u6216\u6587\u4ef6\u5939\u4e0a\u7684\u6587\u4ef6\u6743\u9650\u6807\u5fd7\u3002\u8fd9\u4e9b\u6807\u5fd7\u5b9a\u4e49\u4e86\u8c01\u53ef\u4ee5\u8bfb\u53d6\u3001\u5199\u5165\u6216\u6267\u884c\u6587\u4ef6\u3002\u5f53\u60a8\u4f7f\u7528-l (long format)\u9009\u9879\u5217\u51fa\u6587\u4ef6\u65f6\uff0c\u60a8\u5c06\u770b\u5230\u4e00\u4e2a\u7c7b\u4f3c\u4e8e\u8fd9\u6837\u7684\u5b57\u7b26\u4e32<\/p>\n<p>drwxrwxr-x<\/p>\n<p>\u5177\u4f53\u89c1<strong>Linux\u4fee\u6539\u6743\u9650\u547d\u4ee4chmod\u7528\u6cd5\u793a\u4f8b<\/strong>\uff1a<a href=\"https:\/\/www.linuxmi.com\/linux-chmod.html\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.linuxmi.com\/linux-chmod.html<\/a><\/p>\n<p><strong>5\u3001chown<\/strong><\/p>\n<p>chown\u547d\u4ee4\u5141\u8bb8\u60a8\u66f4\u6539\u6587\u4ef6\u7684\u6240\u6709\u8005\u548c\u7ec4\u6240\u6709\u8005\u3002\u4f7f\u7528ls -l\u5217\u51fa\u6211\u4eec\u7684example.txt\u6587\u4ef6\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u6587\u4ef6\u63cf\u8ff0\u4e2d\u770b\u5230dave dave\u3002\u7b2c\u4e00\u4e2a\u6307\u793a\u6587\u4ef6\u6240\u6709\u8005\u7684\u540d\u79f0\uff0c\u5728\u672c\u4f8b\u4e2d\u662f\u7528\u6237linuxmi\u3002\u7b2c\u4e8c\u4e2a\u6761\u76ee\u663e\u793a\u7ec4\u6240\u6709\u8005\u7684\u540d\u5b57\u4e5f\u662flinuxmi\u3002\u6bcf\u4e2a\u7528\u6237\u90fd\u6709\u4e00\u4e2a\u5728\u521b\u5efa\u7528\u6237\u65f6\u521b\u5efa\u7684\u9ed8\u8ba4\u7ec4\u3002\u8be5\u7528\u6237\u662f\u8be5\u7ec4\u7684\u552f\u4e00\u6210\u5458\u3002\u8fd9\u8868\u660e\u8be5\u6587\u4ef6\u4e0d\u4e0e\u4efb\u4f55\u5176\u4ed6\u7528\u6237\u7ec4\u5171\u4eab\u3002<\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528chown\u66f4\u6539\u6587\u4ef6\u7684\u6240\u6709\u8005\u6216\u7ec4\uff0c\u6216\u540c\u65f6\u66f4\u6539\u6587\u4ef6\u7684\u6240\u6709\u8005\u6216\u7ec4\u3002\u5fc5\u987b\u63d0\u4f9b\u6240\u6709\u8005\u548c\u7ec4\u7684\u540d\u79f0\uff0c\u4e2d\u95f4\u7528:\u5b57\u7b26\u5206\u9694\u3002\u60a8\u5c06\u9700\u8981\u4f7f\u7528sudo\u3002\u8981\u4fdd\u7559linuxmi\u4f5c\u4e3a\u6587\u4ef6\u7684\u6240\u6709\u8005\uff0c\u4f46\u8bbe\u7f6elinux\u4e3a\u7ec4\u6240\u6709\u8005\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ sudo chown linuxmi:linux linuxmi.py<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4073\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/chown.png\" alt=\"\" width=\"946\" height=\"308\" \/><\/p>\n<p>\u8981\u5c06\u6240\u6709\u8005\u548c\u7ec4\u6240\u6709\u8005\u90fd\u66f4\u6539\u4e3alinux\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4;<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ sudo chown linux:linux linuxmi.py<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4074\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/chown2.png\" alt=\"\" width=\"731\" height=\"149\" \/><\/p>\n<p>\u8981\u66f4\u6539\u6587\u4ef6\uff0c\u4f7flinuxmi\u518d\u6b21\u6210\u4e3a\u6587\u4ef6\u6240\u6709\u8005\u548c\u7ec4\u6240\u6709\u8005\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ sudo chown linuxmi:linuxmi linuxmi.py<\/p>\n<p><strong>6\u3001curl<\/strong><\/p>\n<p>\u5728Linux\u4e2dcurl\u662f\u4e00\u4e2a\u5229\u7528URL\u89c4\u5219\u5728\u547d\u4ee4\u884c\u4e0b\u5de5\u4f5c\u7684\u6587\u4ef6\u4f20\u8f93\u5de5\u5177\uff0c\u53ef\u4ee5\u8bf4\u662f\u4e00\u6b3e\u5f88\u5f3a\u5927\u7684http\u547d\u4ee4\u884c\u5de5\u5177\u3002\u5b83\u652f\u6301\u6587\u4ef6\u7684\u4e0a\u4f20\u548c\u4e0b\u8f7d\uff0c\u662f\u7efc\u5408\u4f20\u8f93\u5de5\u5177\uff0c\u4f46\u6309\u4f20\u7edf\uff0c\u4e60\u60ef\u79f0url\u4e3a\u4e0b\u8f7d\u5de5\u5177\u3002<\/p>\n<p>\u5177\u4f53\u89c1 Linux curl \u547d\u4ee4\u8fdb\u9636\uff1a<a href=\"https:\/\/www.linuxmi.com\/linux-curl-mingling.html\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.linuxmi.com\/linux-curl-mingling.html<\/a><\/p>\n<p><strong>7. df<\/strong><\/p>\n<p>df\u547d\u4ee4\u663e\u793a\u8ba1\u7b97\u673a\u5b89\u88c5\u7684\u6587\u4ef6\u7cfb\u7edf\u4e0a\u7684\u5927\u5c0f\u3001\u4f7f\u7528\u7a7a\u95f4\u548c\u53ef\u7528\u7a7a\u95f4\u3002<\/p>\n<p>\u4e24\u4e2a\u6700\u6709\u7528\u7684\u9009\u9879\u662f-h(human readable\u3010\u901a\u4fd7\u6613\u61c2\u7684\u3011)\u548c-x(\u6392\u9664)\u9009\u9879\u3002\u901a\u4fd7\u6613\u61c2\u7684\u9009\u9879\u4ee5Mb\u6216Gb\u800c\u4e0d\u662f\u5b57\u8282\u663e\u793a\u5927\u5c0f\u3002\u6392\u9664\u9009\u9879\u5141\u8bb8\u60a8\u544a\u8bc9df\u8d34\u73b0\u60a8\u4e0d\u611f\u5174\u8da3\u7684\u6587\u4ef6\u7cfb\u7edf\u3002\u4f8b\u5982\uff0c\u4f7f\u7528snap\u547d\u4ee4\u5b89\u88c5\u5e94\u7528\u7a0b\u5e8f\u65f6\u521b\u5efa\u7684squashfs\u4f2a\u6587\u4ef6\u7cfb\u7edf\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ df -h -x squashfs<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4075\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/df.png\" alt=\"\" width=\"946\" height=\"354\" \/><strong>8\u3001diff<\/strong><\/p>\n<p>diff\u547d\u4ee4\u6bd4\u8f83\u4e24\u4e2a\u6587\u672c\u6587\u4ef6\u5e76\u663e\u793a\u5b83\u4eec\u4e4b\u95f4\u7684\u5dee\u5f02\u3002\u6709\u8bb8\u591a\u9009\u9879\u53ef\u4ee5\u6839\u636e\u60a8\u7684\u9700\u6c42\u5b9a\u5236\u663e\u793a\u3002<\/p>\n<p>-y (side by side)\u9009\u9879\u5e76\u6392\u663e\u793a\u884c\u5dee\u3002w(\u5bbd\u5ea6)\u9009\u9879\u5141\u8bb8\u60a8\u6307\u5b9a\u7528\u4e8e\u907f\u514d\u7ed5\u884c\u7684\u6700\u5927\u884c\u5bbd\u3002\u5728\u672c\u4f8b\u4e2d\uff0c\u8fd9\u4e24\u4e2a\u6587\u4ef6\u79f0\u4e3aalpha1.txt\u548calpha2.txt\u3002&#8211;suppress-common-lines \u9632\u6b62diff\u5217\u51fa\u5339\u914d\u7684\u884c\uff0c\u4ece\u800c\u4f7f\u60a8\u80fd\u591f\u5173\u6ce8\u5177\u6709\u5dee\u5f02\u7684\u884c\u3002<\/p>\n<p>diff -y -W 70 linuxmi.py linux.py &#8211;suppress-common-lines<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4076 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/diff.png\" alt=\"\" width=\"946\" height=\"331\" \/><\/p>\n<p><strong>9\u3001echo<\/strong><\/p>\n<p>echo\u547d\u4ee4\u5411\u7ec8\u7aef\u7a97\u53e3\u8f93\u51fa\u4e00\u4e32\u6587\u672c\u3002<\/p>\n<p>\u4e0b\u9762\u7684\u547d\u4ee4\u5c06\u5728\u7ec8\u7aef\u7a97\u53e3\u4e0a\u6253\u5370\u201cLinux\u8ff7www.linuxmi.com\u4e0e\u60a8\u5206\u4eab\u5173\u4e8e\u5f00\u6e90\u7684\u65b0\u9c9c\u4e8b\u201d\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ echo Linux\u8ff7www.linuxmi.com\u4e0e\u60a8\u5206\u4eab\u5173\u4e8e\u5f00\u6e90\u7684\u65b0\u9c9c\u4e8b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4077\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/echo.png\" alt=\"\" width=\"946\" height=\"193\" \/><\/p>\n<p>echo\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u73af\u5883\u53d8\u91cf\u7684\u503c\uff0c\u4f8b\u5982\uff0c$USER\u3001$HOME\u548c$PATH\u73af\u5883\u53d8\u91cf\u3002\u5b83\u4eec\u5305\u542b\u7528\u6237\u540d\u3001\u7528\u6237\u7684\u4e3b\u76ee\u5f55\u4ee5\u53ca\u7528\u6237\u5728\u547d\u4ee4\u884c\u4e0a\u952e\u5165\u5185\u5bb9\u65f6\u641c\u7d22\u5339\u914d\u547d\u4ee4\u7684\u8def\u5f84\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ echo $USER<br \/>\nlinuxmi<br \/>\nlinuxmi@linuxmi:~\/www.linuxmi.com$ echo $HOME<br \/>\n\/home\/linuxmi<br \/>\nlinuxmi@linuxmi:~\/www.linuxmi.com$ echo $PATH<\/p>\n<p>\u4e0b\u9762\u7684\u547d\u4ee4\u5c06\u5bfc\u81f4\u53d1\u51fa\u54d4\u54d4\u58f0\u3002e(\u8f6c\u4e49\u4ee3\u7801)\u9009\u9879\u5c06\u8f6c\u4e49\u7684\u5b57\u7b26\u89e3\u91ca\u4e3a\u201cbell\u201d\u5b57\u7b26\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ echo -e &#8220;\\a&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4078 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/echo1.png\" alt=\"\" width=\"946\" height=\"331\" \/><\/p>\n<p>echo\u547d\u4ee4\u5728shell\u811a\u672c\u4e2d\u4e5f\u662f\u975e\u5e38\u5b9d\u8d35\u7684\u3002\u811a\u672c\u53ef\u4ee5\u4f7f\u7528\u6b64\u547d\u4ee4\u751f\u6210\u53ef\u89c1\u7684\u8f93\u51fa\uff0c\u4ee5\u6307\u793a\u811a\u672c\u6267\u884c\u65f6\u7684\u8fdb\u5ea6\u6216\u7ed3\u679c\u3002<\/p>\n<p><strong>10\u3001exit<\/strong><\/p>\n<p>exit\u547d\u4ee4\u5c06\u5173\u95ed\u4e00\u4e2a\u7ec8\u7aef\u7a97\u53e3\uff0c\u7ed3\u675fshell\u811a\u672c\u7684\u6267\u884c\uff0c\u6216\u8005\u4f7f\u60a8\u9000\u51faSSH\u8fdc\u7a0b\u8bbf\u95ee\u4f1a\u8bdd\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ exit<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4079\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/exit.png\" alt=\"\" width=\"946\" height=\"170\" \/><\/p>\n<p><strong>11\u3001find<\/strong><\/p>\n<p>Linux\u4e2d\u7684Find(\u67e5\u627e)\u547d\u4ee4\u662f\u5728Linux\u7cfb\u7edf\u4e2d\u6700\u91cd\u8981\u5e76\u4e14\u66f4\u6709\u7528\u7684\u547d\u4ee4\u4e4b\u4e00\u3002Find\u547d\u4ee4\u4e3b\u8981\u7528\u4e8e\u6307\u5b9a\u5339\u914d\u6587\u4ef6\u6761\u4ef6\u7684\u53c2\u6570\u67e5\u627e\u6216\u8005\u5b9a\u4f4d\u6587\u4ef6\u548c\u76ee\u5f55\u7684\u5217\u8868\u3002Find\u547d\u4ee4\u80fd\u591f\u88ab\u4f7f\u7528\u57fa\u4e8e\u5404\u79cd\u5404\u6837\u7684\u6761\u4ef6\uff0c\u4f8b\u5982permissions\uff08\u6743\u9650\uff09\uff0cusers\uff08\u7528\u6237\uff09\uff0cgroups\uff08\u7ec4\uff09\uff0cfile type\uff08\u6587\u4ef6\u7c7b\u578b\uff09\uff0cdate\uff08\u65e5\u671f\uff09\uff0csize\uff08\u5927\u5c0f\uff09\u7b49\u7b49\u5176\u5b83\u53ef\u80fd\u7684\u6761\u4ef6\u3002<\/p>\n<p>\u5177\u4f53\u89c1Linux find \u547d\u4ee4\u4f7f\u7528\u7b80\u8ff0\uff1a<a href=\"https:\/\/www.linuxmi.com\/linux-find-mingling-shiyong.html\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.linuxmi.com\/linux-find-mingling-shiyong.html<\/a><\/p>\n<p><strong>12\u3001finger<\/strong><\/p>\n<p>finger\u547d\u4ee4\u63d0\u4f9b\u4e00\u4e2a\u5173\u4e8e\u7528\u6237\u7684\u7b80\u77ed\u4fe1\u606f\u8f6c\u50a8\uff0c\u5305\u62ec\u7528\u6237\u6700\u540e\u4e00\u6b21\u767b\u5f55\u7684\u65f6\u95f4\u3001\u7528\u6237\u7684\u4e3b\u76ee\u5f55\u548c\u7528\u6237\u5e10\u6237\u7684\u5168\u540d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4080\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/finger.png\" alt=\"\" width=\"946\" height=\"262\" \/><strong>13\u3001free<\/strong><\/p>\n<p>free\u547d\u4ee4\u63d0\u4f9b\u8ba1\u7b97\u673a\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\u7684\u6458\u8981\u3002\u5b83\u5bf9\u4e3b\u968f\u673a\u8bbf\u95ee\u5185\u5b58(RAM)\u548c\u4ea4\u6362\u5185\u5b58\u90fd\u8fd9\u6837\u505a\u3002-h(\u4eba)\u9009\u9879\u7528\u4e8e\u63d0\u4f9b\u4eba\u7c7b\u53cb\u597d\u7684\u6570\u5b57\u548c\u5355\u4f4d\u3002\u5982\u679c\u6ca1\u6709\u8fd9\u4e2a\u9009\u9879\uff0c\u56fe\u5f62\u5c06\u4ee5\u5b57\u8282\u8868\u793a\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ free -h<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4081 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/free.png\" alt=\"\" width=\"946\" height=\"262\" \/><\/p>\n<p><strong>14\u3001grep<\/strong><\/p>\n<p>grep\u5b9e\u7528\u7a0b\u5e8f\u641c\u7d22\u5305\u542b\u641c\u7d22\u6a21\u5f0f\u7684\u884c\u3002\u5728\u67e5\u770balias\u547d\u4ee4\u65f6\uff0c\u6211\u4eec\u4f7f\u7528grep\u641c\u7d22\u53e6\u4e00\u4e2a\u7a0b\u5e8fps\u7684\u8f93\u51fa\u3002grep\u547d\u4ee4\u8fd8\u53ef\u4ee5\u641c\u7d22\u6587\u4ef6\u7684\u5185\u5bb9\u3002\u8fd9\u91cc\u6211\u4eec\u5728\u5f53\u524d\u76ee\u5f55\u7684\u6240\u6709\u6587\u672c\u6587\u4ef6\u4e2d\u641c\u7d22\u5355\u8bcd\u201cle\u201d\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ grep le *.py<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4082\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/grep.png\" alt=\"\" width=\"946\" height=\"308\" \/><\/p>\n<p>\u8f93\u51fa\u5c06\u5217\u51fa\u6587\u4ef6\u7684\u540d\u79f0\u5e76\u663e\u793a\u4e0e\u4e4b\u5339\u914d\u7684\u884c\u3002\u9ad8\u4eae\u663e\u793a\u5339\u914d\u7684\u6587\u672c\u3002<\/p>\n<p>\u66f4\u591a\u8be6\u60c5\u89c1 Linux grep \u547d\u4ee4\u9ad8\u7ea7\u7528\u6cd5\u5b9e\u4f8b\uff1a<a href=\"https:\/\/www.linuxmi.com\/linux-grep-mingling-gaoji.html\">https:\/\/www.linuxmi.com\/linux-grep-mingling-gaoji.html<\/a><\/p>\n<p><strong>15\u3001groups<\/strong><\/p>\n<p>groups\u547d\u4ee4\u544a\u8bc9\u60a8\u7528\u6237\u5c5e\u4e8e\u54ea\u4e2a\u7ec4\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ groups linuxmi<br \/>\nlinuxmi : linuxmi adm cdrom sudo dip plugdev kvm lpadmin lxd sambashare libvirt<br \/>\nlinuxmi@linuxmi:~\/www.linuxmi.com$ groups linux<br \/>\nlinux : linux<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4083 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/groups.png\" alt=\"\" width=\"946\" height=\"239\" \/><\/p>\n<p>16\u3001gzip<\/p>\n<p>gzip\u547d\u4ee4\u538b\u7f29\u6587\u4ef6\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5b83\u5220\u9664\u539f\u59cb\u6587\u4ef6\u5e76\u7559\u4e0b\u538b\u7f29\u7248\u672c\u3002\u8981\u540c\u65f6\u4fdd\u7559\u539f\u59cb\u7248\u672c\u548c\u538b\u7f29\u7248\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528-k (keep)\u9009\u9879\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ gzip -k linux.py<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4084 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/gzip.png\" alt=\"\" width=\"946\" height=\"377\" \/><\/p>\n<p><strong>17\u3001head<\/strong><\/p>\n<p>head\u547d\u4ee4\u7ed9\u51fa\u4e00\u4e2a\u6587\u4ef6\u7684\u524d10\u884c\u6e05\u5355\u3002\u5982\u679c\u5e0c\u671b\u770b\u5230\u66f4\u5c11\u6216\u66f4\u591a\u7684\u884c\uff0c\u53ef\u4ee5\u4f7f\u7528-n (number)\u9009\u9879\u3002\u5728\u672c\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528head\uff0c\u5176\u7f3a\u7701\u503c\u4e3a10\u884c\u3002\u7136\u540e\u91cd\u590d\u8be5\u547d\u4ee4\uff0c\u53ea\u8bf7\u6c425\u884c\u4ee3\u7801\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ head linuxmi.com.cpp<br \/>\nlinuxmi@linuxmi:~\/www.linuxmi.com$ head -n 5 linuxmi.com.cpp<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4088\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/head.png\" alt=\"\" width=\"946\" height=\"515\" \/><\/p>\n<p><strong>18\u3001history\uff08\u5386\u53f2\uff09<\/strong><\/p>\n<p>history\u547d\u4ee4\u5217\u51fa\u60a8\u4ee5\u524d\u5728\u547d\u4ee4\u884c\u4e0a\u53d1\u51fa\u7684\u547d\u4ee4\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u952e\u5165\u611f\u53f9\u53f7\u6765\u91cd\u590d\u5386\u53f2\u8bb0\u5f55\u4e2d\u7684\u4efb\u4f55\u547d\u4ee4!\u4ee5\u53ca\u5386\u53f2\u5217\u8868\u4e2d\u7684\u547d\u4ee4\u7f16\u53f7\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ history<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ !840<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4085\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/history.png\" alt=\"\" width=\"731\" height=\"505\" \/><\/p>\n<p>\u8f93\u5165\u4e24\u4e2a\u611f\u53f9\u53f7\u91cd\u590d\u524d\u9762\u7684\u547d\u4ee4\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ !!<\/p>\n<p>19\u3001kill<\/p>\n<p>kill\u547d\u4ee4\u5141\u8bb8\u60a8\u4ece\u547d\u4ee4\u884c\u7ec8\u6b62\u8fdb\u7a0b\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u63d0\u4f9b\u8981\u7ec8\u6b62\u7684\u8fdb\u7a0b\u7684\u8fdb\u7a0bID (PID)\u6765\u5b9e\u73b0\u8fd9\u4e00\u70b9\u3002\u4e0d\u8981\u968f\u610f\u6740\u6b7b\u8fdb\u7a0b\u3002\u60a8\u9700\u8981\u6709\u4e00\u4e2a\u5f88\u597d\u7684\u7406\u7531\u8fd9\u6837\u505a\u3002\u5728\u672c\u4f8b\u4e2d\uff0c\u6211\u4eec\u5c06\u5047\u88c5\u5feb\u95e8\u7a0b\u5e8f\u5df2\u7ecf\u9501\u5b9a\u3002<\/p>\n<p>\u4e3a\u4e86\u627e\u5230shutter\u7684PID\uff0c\u6211\u4eec\u5c06\u4f7f\u7528\u4e0a\u9762\u5173\u4e8ealias\u547d\u4ee4\u4e00\u8282\u4e2d\u7684ps\u548cgrep\u6280\u5de7\u3002\u6211\u4eec\u53ef\u4ee5\u641c\u7d22shutter\u8fdb\u7a0b\uff0c\u5f97\u5230\u5b83\u7684PID\u5982\u4e0b:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ ps -e | grep shutter<br \/>\n14205 ? 00:00:02 shutter<\/p>\n<p>\u4e00\u65e6\u6211\u4eec\u786e\u5b9a\u4e86\u672c\u4f8b\u4e2d\u7684PID-14205\uff0c\u6211\u4eec\u53ef\u4ee5\u6309\u5982\u4e0b\u65b9\u5f0f\u6740\u6b7b\u5b83:<br \/>\nlinuxmi@linuxmi:~\/www.linuxmi.com$ kill 14205<br \/>\nlinuxmi@linuxmi:~\/www.linuxmi.com$ ps -e | grep shutter<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4086 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/kill-.png\" alt=\"\" width=\"946\" height=\"216\" \/><\/p>\n<p>20\u3001less<\/p>\n<p>less\u547d\u4ee4\u5141\u8bb8\u60a8\u5728\u4e0d\u6253\u5f00\u7f16\u8f91\u5668\u7684\u60c5\u51b5\u4e0b\u67e5\u770b\u6587\u4ef6\u3002\u5b83\u4f7f\u7528\u8d77\u6765\u66f4\u5feb\uff0c\u800c\u4e14\u60a8\u4e0d\u4f1a\u65e0\u610f\u4e2d\u4fee\u6539\u6587\u4ef6\u3002\u4f7f\u7528\u66f4\u5c11\u7684\u952e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5411\u4e0a\u548c\u5411\u4e0b\u7bad\u5934\u952e\u3001PgUp\u548cPgDn\u952e\u4ee5\u53ca\u4e3b\u952e\u548c\u7ed3\u675f\u952e\u5728\u6587\u4ef6\u4e2d\u5411\u524d\u548c\u5411\u540e\u6eda\u52a8\u3002\u6309Q\u952e\u9000\u51faless\u3002<\/p>\n<p>\u8981\u67e5\u770b\u6587\u4ef6\uff0c\u8bf7\u5c06\u5176\u540d\u79f0\u63d0\u4f9b\u7ed9less\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ less linuxmi.com.cpp<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4103\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/less.png\" alt=\"\" width=\"946\" height=\"469\" \/><\/p>\n<p>\u60a8\u8fd8\u53ef\u4ee5\u5c06\u5176\u4ed6\u547d\u4ee4\u7684\u8f93\u51fa\u4f20\u8f93\u5230less\u4e2d\u3002\u8981\u67e5\u770bls\u7684\u6574\u4e2a\u786c\u76d8\u9a71\u52a8\u5668\u6e05\u5355\u7684\u8f93\u51fa\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4104\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/less-l.png\" alt=\"\" width=\"946\" height=\"561\" \/><\/p>\n<p>\u4f7f\u7528\/\u5728\u6587\u4ef6\u4e2d\u5411\u524d\u641c\u7d22\u548c\u4f7f\u7528\uff1f\u5411\u540e\u641c\u7d22\u3002<\/p>\n<p>21\u3001ls<\/p>\n<p>\u8fd9\u53ef\u80fd\u662f\u5927\u591a\u6570Linux\u7528\u6237\u9047\u5230\u7684\u7b2c\u4e00\u4e2a\u547d\u4ee4\u3002\u5b83\u5217\u51fa\u4e86\u60a8\u6307\u5b9a\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u548c\u6587\u4ef6\u5939\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cls\u67e5\u627e\u5f53\u524d\u76ee\u5f55\u3002\u5bf9\u4e8els\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u8bb8\u591a\u9009\u9879\uff0c\u6211\u4eec\u5f3a\u70c8\u5efa\u8bae\u60a8\u67e5\u770b\u5b83\u7684\u624b\u518c\u9875\u3002\u8fd9\u91cc\u7ed9\u51fa\u4e86\u4e00\u4e9b\u5e38\u89c1\u7684\u4f8b\u5b50\u3002<\/p>\n<p>\u5217\u51fa\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u548c\u6587\u4ef6\u5939:<\/p>\n<p>ls<\/p>\n<p>\u4f7f\u7528-l (long)\u9009\u9879\u5217\u51fa\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u548c\u6587\u4ef6\u5939\u7684\u8be6\u7ec6\u5217\u8868:<\/p>\n<p>ls -l<\/p>\n<p>\u5177\u4f53\u8be6\u60c5\u89c1 Linux\u5e38\u7528\u547d\u4ee4 ls \u5165\u95e8\u57fa\u7840\u77e5\u8bc6 <a href=\"https:\/\/www.linuxmi.com\/linux-ls-rm.html\">https:\/\/www.linuxmi.com\/linux-ls-rm.html<\/a><\/p>\n<p>22\u3001man<\/p>\n<p>man\u547d\u4ee4\u4ee5less\u663e\u793a\u547d\u4ee4\u7684\u201cman\u9875\u9762\u201d\u3002\u624b\u518c\u9875\u662f\u8be5\u547d\u4ee4\u7684\u7528\u6237\u624b\u518c\u3002\u56e0\u4e3aman\u4f7f\u7528less\u6765\u663e\u793aman\u9875\u9762\uff0c\u6240\u4ee5\u60a8\u53ef\u4ee5\u4f7f\u7528less\u7684\u641c\u7d22\u529f\u80fd\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u8981\u67e5\u770bchown\u7684\u624b\u518c\u9875\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">man chown<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4105\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/man.png\" alt=\"\" width=\"946\" height=\"653\" \/><\/p>\n<p>\u4f7f\u7528\u5411\u4e0a\u548c\u5411\u4e0b\u7bad\u5934\u6216PgUp\u548cPgDn\u952e\u6765\u6eda\u52a8\u6587\u6863\u3002\u6309q\u9000\u51fa\u624b\u518c\u9875\u6216\u6309h\u8bf7\u6c42\u5e2e\u52a9\u3002<\/p>\n<p>23\u3001mkdir<\/p>\n<p>mkdir\u547d\u4ee4\u5141\u8bb8\u60a8\u5728\u6587\u4ef6\u7cfb\u7edf\u4e2d\u521b\u5efa\u65b0\u7684\u76ee\u5f55\u3002\u60a8\u5fc5\u987b\u5411mkdir\u63d0\u4f9b\u65b0\u76ee\u5f55\u7684\u540d\u79f0\u3002\u5982\u679c\u65b0\u76ee\u5f55\u4e0d\u5728\u5f53\u524d\u76ee\u5f55\u4e2d\uff0c\u5219\u5fc5\u987b\u63d0\u4f9b\u65b0\u76ee\u5f55\u7684\u8def\u5f84\u3002<\/p>\n<p>\u8981\u5728\u5f53\u524d\u76ee\u5f55\u4e2d\u521b\u5efa\u540d\u4e3a\u201cubuntu\u201d\u548c&#8221;centos&#8221;\u7684\u65b0\u76ee\u5f55\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u4e24\u4e2a\u547d\u4ee4:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ mkdir ubuntu<\/p>\n<p>\u8981\u5728\u201cubuntu\u201d\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201c2020\u201d\u7684\u65b0\u76ee\u5f55\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ mkdir ubuntu\/2020<\/p>\n<p>\u5982\u679c\u60a8\u8981\u521b\u5efa\u4e00\u4e2a\u76ee\u5f55\uff0c\u4f46\u662f\u5b83\u7684\u7236\u76ee\u5f55\u4e0d\u5b58\u5728\uff0c\u90a3\u4e48\u60a8\u53ef\u4ee5\u4f7f\u7528-p(\u7236\u76ee\u5f55)\u9009\u9879\u8ba9mkdir\u4e5f\u521b\u5efa\u6240\u6709\u5fc5\u9700\u7684\u7236\u76ee\u5f55\u3002\u5728\u4e0b\u9762\u7684\u547d\u4ee4\u4e2d\uff0c\u6211\u4eec\u5c06\u5728\u201ccentos\u201d\u76ee\u5f55\u4e2d\u7684\u201clinux\u201d\u76ee\u5f55\u4e2d\u521b\u5efa\u201c33\u201d\u76ee\u5f55\u3002\u201clinux\u201d\u76ee\u5f55\u4e0d\u5b58\u5728\uff0c\u4f46\u662f\u6211\u4eec\u53ef\u4ee5\u8ba9mkdir\u4e00\u6b21\u521b\u5efa\u6240\u6709\u6307\u5b9a\u7684\u76ee\u5f55:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ mkdir -p centos\/linux\/33<\/p>\n<p>\u8fd8\u521b\u5efa\u4e86\u201clinux\u201d\u76ee\u5f55\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4106 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/mkdir.png\" alt=\"\" width=\"946\" height=\"423\" \/><\/p>\n<p>24\u3001mv<\/p>\n<p>mv\u547d\u4ee4\u5141\u8bb8\u60a8\u5c06\u6587\u4ef6\u548c\u76ee\u5f55\u4ece\u4e00\u4e2a\u76ee\u5f55\u79fb\u52a8\u5230\u53e6\u4e00\u4e2a\u76ee\u5f55\u3002\u5b83\u8fd8\u5141\u8bb8\u60a8\u91cd\u547d\u540d\u6587\u4ef6\u3002 \u8981\u79fb\u52a8\u6587\u4ef6\uff0c\u60a8\u5fc5\u987b\u544a\u8bc9mv\u6587\u4ef6\u7684\u4f4d\u7f6e\u4ee5\u53ca\u60a8\u5e0c\u671b\u5b83\u79fb\u52a8\u5230\u7684\u4f4d\u7f6e\u3002<\/p>\n<p>\u5728\u672c\u4f8b\u4e2d\uff0c\u6211\u4eec\u5c06\u4ece\u4e3b\u76ee\u5f55\u4e2d\u79fb\u52a8\u4e00\u4e2a\u540d\u4e3aatop.wrapper\u7684\u6587\u4ef6\uff0c\u5e76\u5c06\u5176\u653e\u5728\u5f53\u524d\u76ee\u5f55\u4e2d\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ mv ~\/code.png .<\/p>\n<p>\u8981\u91cd\u547d\u540d\u8be5\u6587\u4ef6\uff0c\u60a8\u53ef\u4ee5\u5c06\u5176\u201cmv\u201d\u5230\u5177\u6709\u65b0\u540d\u79f0\u7684\u65b0\u6587\u4ef6\u4e2d\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ mv code.png linuxmi.png<\/p>\n<p>\u6587\u4ef6\u79fb\u52a8\u548c\u91cd\u547d\u540d\u64cd\u4f5c\u53ef\u4ee5\u5728\u4e00\u4e2a\u6b65\u9aa4\u4e2d\u5b9e\u73b0:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ mv \/linux\/code.png .\/linuxmi.png<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4108\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/mv.png\" alt=\"\" width=\"946\" height=\"285\" \/><\/p>\n<p><strong>25\u3001passwd<\/strong><\/p>\n<p>passwd\u547d\u4ee4\u5141\u8bb8\u60a8\u66f4\u6539\u7528\u6237\u7684\u5bc6\u7801\u3002\u53ea\u9700\u952e\u5165passwd\u6765\u66f4\u6539\u60a8\u81ea\u5df1\u7684\u5bc6\u7801\u3002<\/p>\n<p>\u60a8\u8fd8\u53ef\u4ee5\u66f4\u6539\u53e6\u4e00\u4e2a\u7528\u6237\u5e10\u6237\u7684\u5bc6\u7801\uff0c\u4f46\u5fc5\u987b\u4f7f\u7528sudo\u3002\u60a8\u5c06\u88ab\u8981\u6c42\u8f93\u5165\u4e24\u6b21\u65b0\u5bc6\u7801\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ sudo passwd linux<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4110 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/paeewd.png\" alt=\"\" width=\"946\" height=\"285\" \/><\/p>\n<p><strong>26\u3001ping<\/strong><\/p>\n<p>ping\u547d\u4ee4\u5141\u8bb8\u60a8\u9a8c\u8bc1\u4e0e\u53e6\u4e00\u4e2a\u7f51\u7edc\u8bbe\u5907\u662f\u5426\u5177\u6709\u7f51\u7edc\u8fde\u63a5\u3002\u5b83\u901a\u5e38\u7528\u4e8e\u5e2e\u52a9\u89e3\u51b3\u7f51\u7edc\u95ee\u9898\u3002\u8981\u4f7f\u7528ping\uff0c\u8bf7\u63d0\u4f9b\u53e6\u4e00\u4e2a\u8bbe\u5907\u7684IP\u5730\u5740\u6216\u673a\u5668\u540d\u79f0\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ ping 23.185.0.3<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4109\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/ping.png\" alt=\"\" width=\"946\" height=\"377\" \/><\/p>\n<p>ping\u547d\u4ee4\u5c06\u4e00\u76f4\u8fd0\u884c\uff0c\u76f4\u5230\u60a8\u4f7f\u7528Ctrl+C\u505c\u6b62\u5b83\u4e3a\u6b62\u3002<\/p>\n<p>\u8981\u8981\u6c42ping\u8fd0\u884c\u7279\u5b9a\u7684ping\u5c1d\u8bd5\u6b21\u6570\uff0c\u4f7f\u7528-c (count)\u9009\u9879\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ ping -c 5 23.185.0.3<\/p>\n<p>27\u3001ps<\/p>\n<p>ps\u547d\u4ee4\u5217\u51fa\u4e86\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b\u3002\u4f7f\u7528\u4e0d\u5e26\u4efb\u4f55\u9009\u9879\u7684ps\u5c06\u5bfc\u81f4\u5b83\u5217\u51fa\u5f53\u524dshell\u4e2d\u8fd0\u884c\u7684\u8fdb\u7a0b\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ ps<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4112 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/ps.png\" alt=\"\" width=\"946\" height=\"262\" \/><\/p>\n<p>\u8981\u67e5\u770b\u4e0e\u7279\u5b9a\u7528\u6237\u76f8\u5173\u7684\u6240\u6709\u8fdb\u7a0b\uff0c\u8bf7\u4f7f\u7528-u (user)\u9009\u9879\u3002\u8fd9\u53ef\u80fd\u662f\u4e00\u4e2a\u5f88\u957f\u7684\u5217\u8868\uff0c\u56e0\u6b64\u4e3a\u4e86\u65b9\u4fbf\uff0c\u53ef\u4ee5\u901a\u8fc7\u66f4\u5c11\u7684\u7ba1\u9053\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ ps -u linuxmi | less<\/p>\n<p>\u8981\u67e5\u770b\u6bcf\u4e2a\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b\uff0c\u8bf7\u4f7f\u7528-e(\u6bcf\u4e2a\u8fdb\u7a0b)\u9009\u9879:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ ps -e | less<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4111\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/ps2.png\" alt=\"\" width=\"946\" height=\"653\" \/><\/p>\n<p>28\u3001pwd<\/p>\n<p>pwd\u547d\u4ee4\u6253\u5370\u6839\/\u76ee\u5f55\u4e2d\u7684\u5de5\u4f5c\u76ee\u5f55(\u5f53\u524d\u76ee\u5f55)\uff0c\u8fd9\u975e\u5e38\u7b80\u5355\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ pwd<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4113\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/pwd.png\" alt=\"\" width=\"946\" height=\"239\" \/><\/p>\n<p>29\u3001shutdown<\/p>\n<p>shutdown\u547d\u4ee4\u5141\u8bb8\u60a8\u5173\u95ed\u6216\u91cd\u65b0\u542f\u52a8Linux\u7cfb\u7edf\u3002<\/p>\n<p>\u4f7f\u7528\u4e0d\u5e26\u53c2\u6570\u7684\u5173\u673a\u5c06\u5728\u4e00\u5206\u949f\u5185\u5173\u95ed\u60a8\u7684\u8ba1\u7b97\u673a\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ shutdown<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4115\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/shutdown-14.png\" alt=\"\" width=\"946\" height=\"239\" \/><\/p>\n<p>\u8981\u7acb\u5373\u5173\u95ed\uff0c\u4f7f\u7528now\u53c2\u6570\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ shutdown now<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4116 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/shutdown-13.png\" alt=\"\" width=\"946\" height=\"147\" \/><\/p>\n<p>\u60a8\u8fd8\u53ef\u4ee5\u5b89\u6392\u5173\u95ed\uff0c\u5e76\u901a\u77e5\u4efb\u4f55\u767b\u5f55\u7684\u7528\u6237\u7b49\u5f85\u5173\u95ed\u3002\u8981\u8ba9shutdown\u547d\u4ee4\u77e5\u9053\u4f55\u65f6\u5173\u95ed\u5b83\uff0c\u9700\u8981\u4e3a\u5b83\u63d0\u4f9b\u4e00\u4e2a\u65f6\u95f4\u3002\u8fd9\u53ef\u4ee5\u662f\u4ece\u73b0\u5728\u5f00\u59cb\u7684\u4e00\u6bb5\u65f6\u95f4\uff0c\u6bd4\u5982+90\uff0c\u6216\u8005\u4e00\u4e2a\u7cbe\u786e\u7684\u65f6\u95f4\uff0c\u6bd4\u598223:00\u3002\u60a8\u63d0\u4f9b\u7684\u4efb\u4f55\u6587\u672c\u6d88\u606f\u90fd\u5c06\u5e7f\u64ad\u7ed9\u767b\u5f55\u7684\u7528\u6237\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ shutdown 23:00 \u7535\u8111\u5c06\u4e8e\u4eca\u665a23:00\u5173\u95ed\uff0c\u4fdd\u5b58\u60a8 \u7684\u5de5\u4f5c\u5e76\u5728\u90a3\u4e4b\u524d\u6ce8\u9500\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4119 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/shutdown1.png\" alt=\"\" width=\"946\" height=\"285\" \/><\/p>\n<p>\u8981\u53d6\u6d88\u5173\u95ed\uff0c\u4f7f\u7528-c(\u53d6\u6d88)\u9009\u9879\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u8ba1\u5212\u4ece\u73b0\u5728\u5f00\u59cb\u5173\u95ed15\u5206\u949f\uff0c\u7136\u540e\u6211\u4eec\u6539\u53d8\u4e86\u4e3b\u610f\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ shutdown +15 Shutting down in 15 minutes!<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$\u00a0shutdown -c<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4118\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/shutdown2.png\" alt=\"\" width=\"946\" height=\"331\" \/><\/p>\n<p><strong>30\u3001SSH<\/strong><\/p>\n<p>\u4f7f\u7528ssh\u547d\u4ee4\u8fde\u63a5\u5230\u8fdc\u7a0bLinux\u8ba1\u7b97\u673a\u5e76\u767b\u5f55\u5230\u60a8\u7684\u5e10\u6237\u3002\u8981\u5efa\u7acb\u8fde\u63a5\uff0c\u60a8\u5fc5\u987b\u63d0\u4f9b\u60a8\u7684\u7528\u6237\u540d\u548c\u8fdc\u7a0b\u8ba1\u7b97\u673a\u7684IP\u5730\u5740\u6216\u57df\u540d\u3002\u5728\u672c\u4f8b\u4e2d\uff0c\u7528\u6237linux\u6b63\u5728192.168.150.135\u767b\u5f55\u8ba1\u7b97\u673a\u3002\u4e00\u65e6\u8fde\u63a5\u5efa\u7acb\uff0c\u5c31\u4f1a\u8981\u6c42\u8f93\u5165\u5bc6\u7801\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ ssh linux@192.168.150.135<\/p>\n<p>\u7528\u6237\u540d\u548c\u5bc6\u7801\u88ab\u9a8c\u8bc1\u5e76\u63a5\u53d7\uff0c\u7136\u540e\u5c31\u767b\u5f55\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4120\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/SSH.png\" alt=\"\" width=\"946\" height=\"653\" \/><\/p>\n<p><strong>31\u3001sudo<\/strong><\/p>\n<p>\u5728\u6267\u884c\u9700\u8981root\u6216\u8d85\u7ea7\u7528\u6237\u6743\u9650\u7684\u64cd\u4f5c(\u4f8b\u5982\u66f4\u6539\u53e6\u4e00\u4e2a\u7528\u6237\u7684\u5bc6\u7801)\u65f6\uff0c\u9700\u8981\u4f7f\u7528sudo\u547d\u4ee4\u3002<\/p>\n<p>sudo passwd linuxmi<\/p>\n<p>32\u3001tail<\/p>\n<p>tail\u547d\u4ee4\u7ed9\u51fa\u4e00\u4e2a\u6587\u4ef6\u7684\u6700\u540e10\u884c\u6e05\u5355\u3002\u5982\u679c\u5e0c\u671b\u770b\u5230\u66f4\u5c11\u6216\u66f4\u591a\u7684\u884c\uff0c\u53ef\u4ee5\u4f7f\u7528-n (number)\u9009\u9879\u3002\u5728\u672c\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86tail\uff0c\u5176\u7f3a\u7701\u503c\u4e3a10\u884c\u3002\u7136\u540e\u91cd\u590d\u8be5\u547d\u4ee4\uff0c\u53ea\u8bf7\u6c42\u6700\u540e5\u884c\u4ee3\u7801\u3002<\/p>\n<p>tail linuxmi.com.cpp<\/p>\n<p>tail -n 5 linuxmi.com.cpp<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4121\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/tail.png\" alt=\"\" width=\"946\" height=\"538\" \/><\/p>\n<p>33\u3001top<\/p>\n<p>top\u547d\u4ee4\u663e\u793a\u4e0eLinux\u673a\u5668\u76f8\u5173\u7684\u5b9e\u65f6\u6570\u636e\u3002\u5c4f\u5e55\u7684\u9876\u90e8\u662f\u72b6\u6001\u6458\u8981\u3002<\/p>\n<p>\u7b2c\u4e00\u884c\u663e\u793a\u4e86\u65f6\u95f4\u548c\u8ba1\u7b97\u673a\u5df2\u7ecf\u8fd0\u884c\u4e86\u591a\u957f\u65f6\u95f4\uff0c\u6709\u591a\u5c11\u7528\u6237\u767b\u5f55\u5230\u5b83\uff0c\u4ee5\u53ca\u8fc7\u53bb1\u30015\u548c15\u5206\u949f\u7684\u5e73\u5747\u8d1f\u8f7d\u3002<\/p>\n<p>\u7b2c\u4e8c\u884c\u663e\u793a\u4e86\u4efb\u52a1\u7684\u6570\u91cf\u53ca\u5176\u72b6\u6001:\u6b63\u5728\u8fd0\u884c\u3001\u5df2\u505c\u6b62\u3001\u4f11\u7720\u548c\u50f5\u6b7b\u72b6\u6001\u3002\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4123 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/top.png\" alt=\"\" width=\"946\" height=\"653\" \/><\/p>\n<p>34\u3001uname<\/p>\n<p>\u60a8\u53ef\u4ee5\u4f7f\u7528uname\u547d\u4ee4\u83b7\u5f97\u6709\u5173\u60a8\u6b63\u5728\u4f7f\u7528\u7684Linux\u8ba1\u7b97\u673a\u7684\u4e00\u4e9b\u7cfb\u7edf\u4fe1\u606f\u3002<\/p>\n<p>\u4f7f\u7528-a (all)\u9009\u9879\u67e5\u770b\u6240\u6709\u5185\u5bb9\u3002<\/p>\n<p>\u4f7f\u7528-s(\u5185\u6838\u540d\u79f0)\u9009\u9879\u53ef\u4ee5\u67e5\u770b\u5185\u6838\u7684\u7c7b\u578b\u3002<\/p>\n<p>\u4f7f\u7528-r(\u5185\u6838\u53d1\u5e03)\u9009\u9879\u6765\u67e5\u770b\u5185\u6838\u53d1\u5e03\u3002<\/p>\n<p>\u4f7f\u7528-v(\u5185\u6838\u7248\u672c)\u9009\u9879\u53ef\u4ee5\u67e5\u770b\u5185\u6838\u7248\u672c\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4124\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/uname.png\" alt=\"\" width=\"946\" height=\"377\" \/><\/p>\n<p>35\u3001\u663e\u793a\u672c\u7528\u6237\u4fe1\u606f<\/p>\n<p>\u4f7f\u7528whoami\u67e5\u627e\u60a8\u4ee5\u8c01\u7684\u8eab\u4efd\u767b\u5f55\uff0c\u6216\u8005\u8c01\u767b\u5f55\u5230\u65e0\u4eba\u64cd\u4f5c\u7684Linux\u7ec8\u7aef\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4122\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2020\/11\/whoami.png\" alt=\"\" width=\"946\" height=\"216\" \/><\/p>\n<p>\u8fd9\u662f\u4f60\u7684\u5de5\u5177\u7bb1<\/p>\n<p>\u5b66\u4e60Linux\u5c31\u50cf\u5b66\u4e60\u5176\u4ed6\u4e1c\u897f\u4e00\u6837\u3002\u5728\u719f\u6089\u8fd9\u4e9b\u547d\u4ee4\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u5b9e\u8df5\u3002\u4e00\u65e6\u4f60\u638c\u63e1\u4e86\u8fd9\u4e9b\u547d\u4ee4\uff0c\u4f60\u5c31\u4f1a\u5728\u719f\u7ec3\u638c\u63e1\u8fd9\u4e9b\u547d\u4ee4\u7684\u9053\u8def\u4e0a\u8d70\u5f97\u5f88\u597d\u3002<\/p>\n<p>\u5e0c\u671b\u5927\u5bb6\u559c\u6b22\uff0c\u5982\u679c\u8fd8\u6709\u4ec0\u4e48\u8865\u5145\uff0c\u8bf7\u7559\u8a00\uff0c\u5982\u679c\u4f60\u89c9\u5f97\u672c\u6587\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\u6216\u60f3\u4e0e\u5927\u5bb6\u5206\u4eab\uff0c\u8bf7\u5206\u4eab\u5230\u4f60\u7684\u670b\u53cb\u5708\u3002\u8c22\u8c22\u70b9\u8d5e\u70b9\u5728\u770b\u5206\u4eab\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60a8\u662fLinux\u65b0\u624b\u8fd8\u662f\u53ea\u662f\u758f\u4e8e\u4f7f\u7528\u4e86\uff1f\u672c\u6587\u4ecb\u7ecd\u7684\u662f\u60a8\u9700\u8981\u4e86\u89e3\u7684\u6240\u6709\u547d\u4ee4\u3002\u53ef\u4ee5\u5c06\u6b64\u89c6\u4e3aLinux\u7ec8\u7aef\u7684 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[8],"class_list":["post-4064","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linuxmingling"],"aioseo_notices":[],"views":664,"_links":{"self":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/4064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/comments?post=4064"}],"version-history":[{"count":8,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/4064\/revisions"}],"predecessor-version":[{"id":4126,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/4064\/revisions\/4126"}],"wp:attachment":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/media?parent=4064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/categories?post=4064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/tags?post=4064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}