{"id":16590,"date":"2025-04-18T23:02:27","date_gmt":"2025-04-18T15:02:27","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/16590.html"},"modified":"2025-04-18T23:02:27","modified_gmt":"2025-04-18T15:02:27","slug":"linux%e5%b8%b8%e7%94%a8%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/16590.html","title":{"rendered":"Linux\u5e38\u7528\u5de5\u5177"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>tar\u6253\u5305\u547d\u4ee4\u8be6\u89e3<\/li>\n<li>unzip\u547d\u4ee4&#xff1a;\u89e3\u538bzip\u6587\u4ef6<\/li>\n<li>vim\u64cd\u4f5c\u8be6\u89e3<\/li>\n<li>netstat\u8be6\u89e3<\/li>\n<li>df\u547d\u4ee4\u8be6\u89e3<\/li>\n<li>ps\u547d\u4ee4\u8be6\u89e3<\/li>\n<li>find\u547d\u4ee4\u8be6\u89e3<\/li>\n<\/ul>\n<h2>tar\u6253\u5305\u547d\u4ee4\u8be6\u89e3<\/h2>\n<ul>\n<li>\n<p>tar\u547d\u4ee4\u505a\u6253\u5305\u64cd\u4f5c<\/p>\n<ul>\n<li>\u5f53 tar \u547d\u4ee4\u7528\u4e8e\u6253\u5305\u64cd\u4f5c\u65f6&#xff0c;\u8be5\u547d\u4ee4\u7684\u57fa\u672c\u683c\u5f0f\u4e3a&#xff1a;<\/li>\n<\/ul>\n<p> tar  [\u9009\u9879]  \u6e90\u6587\u4ef6\u6216\u76ee\u5f55\n <\/li>\n<li>\n<p>\u6b64\u547d\u4ee4\u5e38\u7528\u7684\u9009\u9879\u53ca\u5404\u81ea\u7684\u542b\u4e49\u5982\u8868\u6240\u793a<\/p>\n<table>\n<tr>\u9009\u9879\u542b\u4e49<\/tr>\n<tbody>\n<tr>\n<td>-c<\/td>\n<td>\u5c06\u591a\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55\u8fdb\u884c\u6253\u5305<\/td>\n<\/tr>\n<tr>\n<td>-A<\/td>\n<td>\u8ffd\u52a0tar\u6587\u4ef6\u5230\u5f52\u6863\u6587\u4ef6<\/td>\n<\/tr>\n<tr>\n<td>-f \u5305\u540d<\/td>\n<td>\u6307\u5b9a\u5305\u7684\u6587\u4ef6\u540d&#xff0c;\u5305\u7684\u6269\u5c55\u540d\u662f\u7528\u6765\u7ed9\u7ba1\u7406\u5458\u8bc6\u522b\u683c\u5f0f\u7684&#xff0c;\u6240\u4ee5\u4e00\u70b9\u8981\u6b63\u786e\u6307\u5b9a\u6269\u5c55\u540d<\/td>\n<\/tr>\n<tr>\n<td>-v<\/td>\n<td>\u663e\u793a\u6253\u5305\u6587\u4ef6\u8fc7\u7a0b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u662f&#xff0c;\u5728\u4f7f\u7528 tar \u547d\u4ee4\u6307\u5b9a\u9009\u9879\u65f6\u53ef\u4ee5\u4e0d\u5728\u9009\u9879\u524d\u9762\u8f93\u5165\u201c-\u201d\u3002\u4f8b\u5982&#xff0c;\u4f7f\u7528\u201ccvf\u201d\u9009\u9879\u548c \u201c-cvf\u201d\u8d77\u5230\u7684\u4f5c\u7528\u4e00\u6837<\/p>\n<\/li>\n<li>\n<p>\u5b9e\u4f8b1&#xff1a;<\/p>\n<ul>\n<li>\u6253\u5305\u6587\u4ef6\u548c\u76ee\u5f55\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418150224-6802698046363.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<li>\u9009\u9879 \u201c-cvf\u201d \u4e00\u822c\u662f\u4e60\u60ef\u7528\u6cd5&#xff0c;\u8bb0\u4f4f\u6253\u5305\u65f6\u9700\u8981\u6307\u5b9a\u6253\u5305\u4e4b\u540e\u7684\u6587\u4ef6\u540d&#xff0c;\u800c\u4e14\u8981\u7528 \u201c.tar\u201d \u4f5c\u4e3a\u6269\u5c55\u540d\u3002\u6253\u5305\u76ee\u5f55\u4e5f\u662f\u5982\u6b64&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418150224-6802698067f85.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5b9e\u4f8b2&#xff1a;\u6253\u5305\u5e76\u538b\u7f29\u76ee\u5f55\u3002<\/p>\n<ul>\n<li>\u9996\u5148\u58f0\u660e\u4e00\u70b9&#xff0c;\u538b\u7f29\u547d\u4ee4\u4e0d\u80fd\u76f4\u63a5\u538b\u7f29\u76ee\u5f55&#xff0c;\u5fc5\u987b\u5148\u7528 tar \u547d\u4ee4\u5c06\u76ee\u5f55\u6253\u5305&#xff0c;\u7136\u540e\u624d\u80fd\u7528 gzip \u547d\u4ee4\u6216 bzip2 \u547d\u4ee4\u5bf9\u6253\u5305\u6587\u4ef6\u8fdb\u884c\u538b\u7f29\u3002\u4f8b\u5982&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418150224-68026980ab631.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<\/ul>\n<\/li>\n<li>\n<p>tar\u547d\u4ee4\u505a\u89e3\u6253\u5305\u64cd\u4f5c<\/p>\n<ul>\n<li>\u5f53 tar \u547d\u4ee4\u7528\u4e8e\u5bf9 tar \u5305\u505a\u89e3\u6253\u5305\u64cd\u4f5c\u65f6&#xff0c;\u8be5\u547d\u4ee4\u7684\u57fa\u672c\u683c\u5f0f\u5982\u4e0b&#xff1a;<\/li>\n<\/ul>\n<p> tar [\u9009\u9879] \u538b\u7f29\u5305<\/p>\n<ul>\n<li>\u5f53\u7528\u4e8e\u89e3\u6253\u5305\u65f6&#xff0c;\u5e38\u7528\u7684\u9009\u9879\u4e0e\u542b\u4e49\u5982\u8868\u6240\u793a\u3002<\/li>\n<\/ul>\n<table>\n<tr>\u9009\u9879\u542b\u4e49<\/tr>\n<tbody>\n<tr>\n<td>-x<\/td>\n<td>\u5bf9tar\u5305\u505a\u89e3\u6253\u5305\u64cd\u4f5c<\/td>\n<\/tr>\n<tr>\n<td>-f<\/td>\n<td>\u6307\u5b9a\u8981\u89e3\u538b\u7684tar\u5305\u7684\u5305\u540d<\/td>\n<\/tr>\n<tr>\n<td>-t<\/td>\n<td>\u53ea\u67e5\u770btar\u5305\u4e2d\u6709\u54ea\u4e9b\u6587\u4ef6\u6216\u76ee\u5f55&#xff0c;\u4e0d\u5bf9tar\u5305\u505a\u6253\u5305\u64cd\u4f5c<\/td>\n<\/tr>\n<tr>\n<td>-C \u76ee\u5f55<\/td>\n<td>\u6307\u5b9a\u89e3\u6253\u5305\u4f4d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>-v<\/td>\n<td>\u663e\u793a\u89e3\u6253\u5305\u7684\u5177\u4f53\u8fc7\u7a0b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>\n<p>\u5176\u5b9e\u89e3\u6253\u5305\u548c\u6253\u5305\u76f8\u6bd4&#xff0c;\u53ea\u662f\u628a\u6253\u5305\u9009\u9879 \u201c-cvf\u201d \u66f4\u6362\u4e3a \u201c-xvf\u201d<\/p>\n<\/li>\n<li>\n<p>\u5b9e\u4f8b1&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418150224-68026980d0d2b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u5982\u679c\u4f7f\u7528 \u201c-xvf\u201d \u9009\u9879&#xff0c;\u5219\u4f1a\u628a\u5305\u4e2d\u7684\u6587\u4ef6\u89e3\u538b\u5230\u5f53\u524d\u76ee\u5f55\u4e0b\u3002\u5982\u679c\u60f3\u8981\u6307\u5b9a\u89e3\u538b\u4f4d\u7f6e&#xff0c;\u5219\u9700\u8981\u4f7f\u7528 \u201c-C(\u5927\u5199)\u201d \u9009\u9879\u3002\u4f8b\u5982&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418150224-68026980eab08.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>tar\u547d\u4ee4\u505a\u6253\u5305\u538b\u7f29&#xff08;\u89e3\u538b\u7f29\u89e3\u6253\u5305&#xff09;\u64cd\u4f5c<\/p>\n<ul>\n<li>\u5f53 tar \u547d\u4ee4\u540c\u65f6\u505a\u6253\u5305\u538b\u7f29\u7684\u64cd\u4f5c\u65f6&#xff0c;\u5176\u57fa\u672c\u683c\u5f0f\u5982\u4e0b&#xff1a;<\/li>\n<\/ul>\n<p> tar [\u9009\u9879] \u538b\u7f29\u5305 \u6e90\u6587\u4ef6\u6216\u76ee\u5f55<\/p>\n<ul>\n<li>\u6b64\u5904\u5e38\u7528\u7684\u9009\u9879\u6709\u4ee5\u4e0b 2 \u4e2a&#xff0c;\u5206\u522b\u662f&#xff1a;\n<ul>\n<li>-z&#xff1a;\u538b\u7f29\u548c\u89e3\u538b\u7f29 \u201c.tar.gz\u201d \u683c\u5f0f&#xff1b;<\/li>\n<li>-j&#xff1a;\u538b\u7f29\u548c\u89e3\u538b\u7f29 &#034;.tar.bz2&#034;\u683c\u5f0f\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5b9e\u4f8b&#xff1a;\u538b\u7f29\u4e0e\u89e3\u538b\u7f29 &#034;.tar.gz&#034;\u683c\u5f0f <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418150225-6802698111660.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u89e3\u538b\u7f29\u4e5f\u53ea\u662f\u5728\u89e3\u6253\u5305\u9009\u9879 \u201c-xvf\u201d \u524d\u9762\u52a0\u4e86\u4e00\u4e2a \u201c-z\u201d \u9009\u9879\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418150225-6802698133a9f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<\/ul>\n<h2>unzip\u547d\u4ee4&#xff1a;\u89e3\u538bzip\u6587\u4ef6<\/h2>\n<ul>\n<li>unzip \u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u548c\u89e3\u538b\u7f29 zip \u6587\u4ef6\u3002\u8be5\u547d\u4ee4\u7684\u57fa\u672c\u683c\u5f0f\u5982\u4e0b&#xff1a;<\/li>\n<\/ul>\n<p>unzip [\u9009\u9879] \u538b\u7f29\u5305\u540d<\/p>\n<ul>\n<li>\u6b64\u547d\u4ee4\u5e38\u7528\u7684\u9009\u9879\u4ee5\u53ca\u5404\u81ea\u7684\u542b\u4e49\u5982\u8868\u6240\u793a\u3002<\/li>\n<\/ul>\n<table>\n<tr>\u9009\u9879\u542b\u4e49<\/tr>\n<tbody>\n<tr>\n<td>-d \u76ee\u5f55\u540d<\/td>\n<td>\u5c06\u538b\u7f29\u6587\u4ef6\u89e3\u538b\u5230\u6307\u5b9a\u76ee\u5f55\u4e0b<\/td>\n<\/tr>\n<tr>\n<td>-n<\/td>\n<td>\u89e3\u538b\u65f6\u5e76\u4e0d\u8986\u76d6\u5df2\u7ecf\u5b58\u5728\u7684\u6587\u4ef6<\/td>\n<\/tr>\n<tr>\n<td>-o<\/td>\n<td>\u89e3\u538b\u65f6\u8986\u76d6\u5df2\u7ecf\u5b58\u5728\u7684\u6587\u4ef6&#xff0c;\u5e76\u4e14\u65e0\u5e8f\u7528\u6237\u786e\u8ba4<\/td>\n<\/tr>\n<tr>\n<td>-v<\/td>\n<td>\u67e5\u770b\u538b\u7f29\u6587\u4ef6\u7684\u8be6\u7ec6\u4fe1\u606f&#xff0c;\u5305\u62ec\u538b\u7f29\u6587\u4ef6\u4e2d\u5305\u542b\u7684\u6587\u4ef6\u5927\u5c0f\u3001\u6587\u4ef6\u540d\u4ee5\u53ca\u538b\u7f29\u6bd4\u7b49&#xff0c;\u4f46\u5e76\u4e0d\u505a\u89e3\u538b\u64cd\u4f5c<\/td>\n<\/tr>\n<tr>\n<td>-t<\/td>\n<td>\u6d4b\u8bd5\u538b\u7f29\u6587\u4ef6\u6709\u65e0\u635f\u574f&#xff0c;\u4f46\u5e76\u4e0d\u89e3\u538b<\/td>\n<\/tr>\n<tr>\n<td>-x \u6587\u4ef6\u5217\u8868<\/td>\n<td>\u89e3\u538b\u6587\u4ef6&#xff0c;\u4f46\u4e0d\u5305\u542b\u6587\u4ef6\u5217\u8868\u4e2d\u6307\u5b9a\u7684\u6587\u4ef6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>vim\u64cd\u4f5c\u8be6\u89e3<\/h2>\n<ul>\n<li>\n<p>Vim \u67e5\u627e\u6587\u672c<\/p>\n<ul>\n<li>\u5728\u547d\u4ee4\u6a21\u5f0f\u4e0b\u8f93\u5165\u82f1\u6587\u72b6\u6001\u7684\u4e0b\u7684\/<\/li>\n<\/ul>\n<table>\n<tr>\u5feb\u6377\u952e\u529f\u80fd\u63cf\u8ff0<\/tr>\n<tbody>\n<tr>\n<td>\/abc<\/td>\n<td>\u4ece\u5149\u6807\u6240\u5728\u4f4d\u7f6e\u5411\u524d\u67e5\u627e\u5b57\u7b26\u4e32 abc<\/td>\n<\/tr>\n<tr>\n<td>\/^abc<\/td>\n<td>\u67e5\u627e\u4ee5abc\u4e3a\u884c\u9996\u7684\u884c<\/td>\n<\/tr>\n<tr>\n<td>\/abc$<\/td>\n<td>\u67e5\u627e\u4ee5abc\u4e3a\u884c\u5c3e\u7684\u884c<\/td>\n<\/tr>\n<tr>\n<td>?abc<\/td>\n<td>\u4ece\u5149\u6807\u6240\u5728\u4e3a\u4e3b\u5411\u540e\u67e5\u627e\u5b57\u7b26\u4e32 abc<\/td>\n<\/tr>\n<tr>\n<td>n<\/td>\n<td>\u5411\u540c\u4e00\u65b9\u5411\u91cd\u590d\u4e0a\u6b21\u7684\u67e5\u627e\u6307\u4ee4<\/td>\n<\/tr>\n<tr>\n<td>N<\/td>\n<td>\u5411\u76f8\u53cd\u65b9\u5411\u91cd\u590d\u4e0a\u6b21\u7684\u67e5\u627e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>\n<p>Vim \u66ff\u6362\u6587\u672c<\/p>\n<table>\n<tr>\u5feb\u6377\u952e\u529f\u80fd\u63cf\u8ff0<\/tr>\n<tbody>\n<tr>\n<td>r<\/td>\n<td>\u66ff\u6362\u5149\u6807\u6240\u5728\u4f4d\u7f6e\u7684\u5b57\u7b26<\/td>\n<\/tr>\n<tr>\n<td>R<\/td>\n<td>\u4ece\u5149\u6807\u6240\u5728\u4f4d\u7f6e\u5f00\u59cb\u66ff\u6362\u5b57\u7b26&#xff0c;\u5176\u8f93\u5165\u5185\u5bb9\u4f1a\u8986\u76d6\u6389\u540e\u9762\u7684\u7b49\u957f\u7684\u6587\u672c\u5185\u5bb9&#xff0c;\u6309Esc\u53ef\u4ee5\u7ed3\u675f\u8986\u76d6<\/td>\n<\/tr>\n<tr>\n<td>: s\/a1\/a2\/g<\/td>\n<td>\u5c06\u5f53\u524d\u5149\u6807\u6240\u5728\u884c\u4e2d\u7684\u6240\u6709a1\u7528a2\u66ff\u6362<\/td>\n<\/tr>\n<tr>\n<td>\/n1,n2s\/a1\/a2\/g<\/td>\n<td>\u5c06\u6587\u4ef6\u4e2dn1\u5230n2\u884c\u4e2d\u7684\u6240\u6709a1\u7528a2\u66ff\u6362<\/td>\n<\/tr>\n<tr>\n<td>:%s\/a1\/a2\/g<\/td>\n<td>\u5c06\u6587\u4ef6\u6240\u6709\u884c\u4e2d\u7684\u6240\u6709a1\u7528a2\u66ff\u6362<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>\n<p>Vim\u79fb\u52a8\u5149\u6807\u5feb\u6377\u952e\u6c47\u603b<\/p>\n<ul>\n<li>Vim \u6587\u672c\u7f16\u8f91\u5668\u4e2d&#xff0c;\u6700\u7b80\u5355\u7684\u79fb\u52a8\u5149\u6807\u7684\u65b9\u5f0f\u662f\u4f7f\u7528\u65b9\u5411\u952e&#xff0c;\u4f46\u8fd9\u79cd\u65b9\u5f0f\u7684\u6548\u7387\u592a\u4f4e&#xff0c;\u66f4\u9ad8\u6548\u7684\u65b9\u5f0f\u4f7f\u7528\u5feb\u6377\u952e\u3002<\/li>\n<li>Vim \u79fb\u52a8\u5149\u6807\u5e38\u7528\u7684\u5feb\u6377\u952e\u53ca\u5176\u529f\u80fd\u5982\u4e0b\u9762\u5404\u8868\u6240\u793a&#xff0c;\u9700\u8981\u6ce8\u610f\u7684\u662f&#xff0c;\u8868\u4e2d\u6240\u6709\u7684\u5feb\u6377\u952e\u90fd\u5728\u547d\u4ee4\u6a21\u5f0f&#xff08;\u9ed8\u8ba4\u72b6\u6001&#xff09;\u4e0b\u76f4\u63a5\u4f7f\u7528\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Vim\u5feb\u6377\u65b9\u5411\u952e<\/p>\n<table>\n<tr>\u5feb\u6377\u952e\u529f\u80fd\u63cf\u8ff0<\/tr>\n<tbody>\n<tr>\n<td>h<\/td>\n<td>\u5149\u6807\u5411\u5de6\u79fb\u52a8\u4e00\u4f4d<\/td>\n<\/tr>\n<tr>\n<td>j<\/td>\n<td>\u5149\u6807\u5411\u4e0b\u79fb\u52a8\u4e00\u884c&#xff08;\u4ee5\u56de\u8f66\u4e3a\u6362\u884c\u7b26&#xff09;&#xff0c;\u4e5f\u5c31\u662f\u5149\u6807\u5411\u4e0b\u79fb\u52a8<\/td>\n<\/tr>\n<tr>\n<td>k<\/td>\n<td>\u5149\u6807\u5411\u4e0a\u79fb\u52a8\u4e00\u884c&#xff08;\u4e5f\u5c31\u662f\u5411\u4e0a\u79fb\u52a8&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>l<\/td>\n<td>\u5149\u6807\u5411\u53f3\u79fb\u52a8\u4e00\u4f4d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6700\u521d\u4f7f\u7528&#xff0c;\u5927\u5bb6\u53ef\u80fd\u89c9\u5f97\u6bd4\u8f83\u522b\u626d&#xff0c;\u4f46\u719f\u80fd\u751f\u5de7&#xff0c;\u4f7f\u7528\u6b64\u65b9\u5f0f\u79fb\u52a8\u5149\u6807\u540c\u6837\u80fd\u591f\u63d0\u9ad8\u7f16\u8f91\u901f\u5ea6\u3002<\/p>\n<\/li>\n<li>\n<p>Vim\u5149\u6807\u4ee5\u5355\u8bcd\u4e3a\u5355\u4f4d\u79fb\u52a8<\/p>\n<ul>\n<li>\u67d0\u4e9b\u60c5\u5f62\u4e0b&#xff0c;\u53ef\u80fd\u9700\u8981\u5149\u6807\u8fc5\u901f\u79fb\u52a8\u81f3\u4e00\u884c\u4e2d\u7684\u67d0\u4e2a\u4f4d\u7f6e&#xff0c;\u5c06\u5149\u6807\u4ee5\u5355\u8bcd\u4e3a\u5355\u4f4d\u8fdb\u884c\u79fb\u52a8\u5c31\u4f1a\u5f88\u65b9\u4fbf\u3002<\/li>\n<\/ul>\n<table>\n<tr>\u5feb\u6377\u952e\u529f\u80fd\u63cf\u8ff0<\/tr>\n<tbody>\n<tr>\n<td>w \u6216 W<\/td>\n<td>\u5149\u6807\u79fb\u52a8\u81f3\u4e0b\u4e00\u4e2a\u5355\u8bcd\u7684\u5355\u8bcd\u9996<\/td>\n<\/tr>\n<tr>\n<td>b \u6216 B<\/td>\n<td>\u5149\u6807\u79fb\u52a8\u81f3\u4e0a\u4e00\u4e2a\u5355\u8bcd\u7684\u5355\u8bcd\u9996<\/td>\n<\/tr>\n<tr>\n<td>e \u6216 E<\/td>\n<td>\u5149\u6807\u79fb\u52a8\u81f3\u4e0b\u4e00\u4e2a\u5355\u8bcd\u7684\u5355\u8bcd\u5c3e<\/td>\n<\/tr>\n<tr>\n<td>nw \u6216 nW<\/td>\n<td>n\u4e3a\u6570\u5b57&#xff0c;\u8868\u793a\u5149\u6807\u5411\u53f3\u79fb\u52a8n\u4e2a\u5355\u8bcd<\/td>\n<\/tr>\n<tr>\n<td>nb \u6216 nB<\/td>\n<td>n\u4e3a\u6570\u5b57&#xff0c;\u8868\u793a\u5149\u6807\u5411\u5de6\u79fb\u52a8n\u4e2a\u5355\u8bcd<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>\n<p>Vim\u5149\u6807\u79fb\u52a8\u81f3\u884c\u9996\u6216\u884c\u5c3e<\/p>\n<table>\n<tr>\u5feb\u6377\u952e\u529f\u80fd\u63cf\u8ff0<\/tr>\n<tbody>\n<tr>\n<td>0 \u6216 ^<\/td>\n<td>\u5149\u6807\u79fb\u52a8\u81f3\u5f53\u524d\u884c\u7684\u884c\u9996<\/td>\n<\/tr>\n<tr>\n<td>$<\/td>\n<td>\u5149\u6807\u79fb\u52a8\u81f3\u5f53\u524d\u884c\u7684\u884c\u5c3e<\/td>\n<\/tr>\n<tr>\n<td>n$<\/td>\n<td>\u5149\u6807\u79fb\u52a8\u81f3\u5f53\u524d\u884c\u53ea\u6709n\u884c\u7684\u884c\u5c3e&#xff0c;n\u4e3a\u6570\u5b57<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>\n<p>Vim\u5149\u6807\u79fb\u52a8\u81f3\u6307\u5b9a\u5b57\u7b26<\/p>\n<ul>\n<li>\n<p>\u4e00\u884c\u4e2d&#xff0c;\u5982\u679c\u9700\u8981\u5c06\u5149\u6807\u79fb\u52a8\u5230\u5f53\u524d\u884c\u7684\u67d0\u4e2a\u7279\u70b9\u5b57\u7b26&#xff0c;\u5219\u53ef\u4ee5\u4f7f\u7528\u8868\u4e2d\u7684\u5feb\u6377\u952e\u3002<\/p>\n<table>\n<tr>\u5feb\u6377\u952e\u529f\u80fd\u63cf\u8ff0<\/tr>\n<tbody>\n<tr>\n<td>fx<\/td>\n<td>\u5149\u6807\u79fb\u52a8\u81f3\u5f53\u524d\u884c\u4e2d\u4e0b\u4e00\u4e2a x \u5b57\u7b26\u5904<\/td>\n<\/tr>\n<tr>\n<td>Fx<\/td>\n<td>\u5149\u6807\u79fb\u52a8\u81f3\u5f53\u524d\u884c\u4e2d\u4e0a\u4e00\u4e2a x \u5b57\u7b26\u5904<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Vim\u5149\u6807\u79fb\u52a8\u5230\u6307\u5b9a\u884c<\/p>\n<\/li>\n<\/ul>\n<table>\n<tr>\u5feb\u6377\u952e\u529f\u80fd\u63cf\u8ff0<\/tr>\n<tbody>\n<tr>\n<td>gg<\/td>\n<td>\u5149\u6807\u79fb\u52a8\u81f3\u6587\u4ef6\u5f00\u5934<\/td>\n<\/tr>\n<tr>\n<td>G<\/td>\n<td>\u5149\u6807\u79fb\u52a8\u81f3\u6587\u4ef6\u672b\u5c3e<\/td>\n<\/tr>\n<tr>\n<td>nG<\/td>\n<td>\u5149\u6807\u79fb\u52a8\u5230\u7b2cn\u884c&#xff0c;n\u4e3a\u5b57\u7b26<\/td>\n<\/tr>\n<tr>\n<td>:n<\/td>\n<td>\u7f16\u8f91\u6a21\u5f0f\u4e0b\u4f7f\u7528\u7684\u5feb\u6377\u952e&#xff0c;\u53ef\u4ee5\u5c06\u5149\u6807\u5feb\u901f\u5b9a\u4e49\u5230\u6307\u5b9a\u7684\u884c\u9996<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>Vim\u64a4\u9500\u548c\u6062\u590d\u64a4\u9500\u5feb\u6377\u952e\u7528\u6cd5\u8be6\u89e3\n<ul>\n<li>\u4f7f\u7528 Vim \u7f16\u8f91\u6587\u4ef6\u5185\u5bb9\u65f6&#xff0c;\u7ecf\u5e38\u4f1a\u6709\u5982\u4e0b 2 \u79cd\u9700\u6c42&#xff1a;\n<ul>\n<li>\u5bf9\u6587\u4ef6\u5185\u5bb9\u505a\u4e86\u4fee\u6539\u4e4b\u540e&#xff0c;\u5374\u53d1\u73b0\u6574\u4e2a\u4fee\u6539\u8fc7\u7a0b\u662f\u9519\u8bef\u6216\u8005\u6ca1\u6709\u5fc5\u8981\u7684&#xff0c;\u60f3\u5c06\u6587\u4ef6\u6062\u590d\u5230\u4fee\u6539\u4e4b\u524d\u7684\u6837\u5b50\u3002<\/li>\n<li>\u5c06\u6587\u4ef6\u5185\u5bb9\u6062\u590d\u4e4b\u540e&#xff0c;\u7ecf\u8fc7\u4ed4\u7ec6\u8003\u8651&#xff0c;\u53c8\u611f\u89c9\u8fd8\u662f\u521a\u624d\u4fee\u6539\u8fc7\u7684\u5185\u5bb9\u66f4\u597d&#xff0c;\u60f3\u64a4\u9500\u4e4b\u524d\u505a\u7684\u6062\u590d\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u57fa\u4e8e\u8fd9 2 \u79cd\u9700\u6c42&#xff0c;Vim \u7f16\u8f91\u5668\u63d0\u4f9b\u4e86\u64a4\u9500\u548c\u6062\u590d\u64a4\u9500\u7684\u547d\u4ee4<\/li>\n<\/ul>\n<table>\n<tr>\u5feb\u6377\u952e\u529f\u80fd<\/tr>\n<tbody>\n<tr>\n<td>u(\u5c0f\u5199)<\/td>\n<td>undo \u7684\u7b2c\u4e00\u4e2a\u5b57\u6bcd&#xff0c;\u529f\u80fd\u662f\u64a4\u9500\u6700\u8fd1\u4e00\u6b21\u5bf9\u6587\u672c\u505a\u7684\u4fee\u6539\u64cd\u4f5c<\/td>\n<\/tr>\n<tr>\n<td>Crl&#043;R<\/td>\n<td>Redo\u7684\u7b2c\u4e00\u4e2a\u5b57\u6bcd&#xff0c;\u529f\u80fd\u662f\u6062\u590d\u6700\u8fd1\u4e00\u6b21\u6240\u505a\u7684\u64a4\u9500\u64cd\u4f5c<\/td>\n<\/tr>\n<tr>\n<td>U&#xff08;\u5927\u5199&#xff09;<\/td>\n<td>\u7b2c\u4e00\u6b21\u4f1a\u64a4\u9500\u5bf9\u4e00\u884c\u6587&#xff08;\u5149\u6807\u6240\u5728\u884c&#xff09;\u505a\u8fc7\u7684\u5168\u90e8\u64cd\u4f5c&#xff0c;\u7b2c\u4e8c\u6b21\u4f7f\u7528\u8be5\u547d\u4ee4\u4f1a\u6062\u590d\u5bf9\u8be5\u884c\u6587\u672c\u505a\u8fc7\u7684\u6240\u6709\u64cd\u4f5c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>Vim\u6279\u91cf\u6ce8\u91ca\u548c\u81ea\u5b9a\u4e49\u6ce8\u91ca\n<ul>\n<li>\n<p>\u4f7f\u7528 Vim \u7f16\u8f91 Shell \u811a\u672c&#xff0c;\u5728\u8fdb\u884c\u8c03\u8bd5\u65f6&#xff0c;\u9700\u8981\u8fdb\u884c\u591a\u884c\u7684\u6ce8\u91ca&#xff0c;\u6bcf\u6b21\u90fd\u8981\u5148\u5207\u6362\u5230\u8f93\u5165\u6a21\u5f0f&#xff0c;\u5728\u884c\u9996\u8f93\u5165\u6ce8\u91ca\u7b26&#034;#&#034;\u518d\u9000\u56de\u547d\u4ee4\u6a21\u5f0f&#xff0c;\u975e\u5e38\u9ebb\u70e6\u3002<\/p>\n<\/li>\n<li>\n<p>\u8fde\u7eed\u884c\u7684\u6ce8\u91ca\u5176\u5b9e\u53ef\u4ee5\u7528\u66ff\u6362\u547d\u4ee4\u6765\u5b8c\u6210\u3002\u6362\u53e5\u8bdd\u8bf4&#xff0c;\u5728\u6307\u5b9a\u8303\u56f4\u884c\u52a0&#034;#&#034;\u6ce8\u91ca&#xff0c;\u53ef\u4ee5\u4f7f\u7528 \u201c:\u8d77\u59cb\u884c&#xff0c;\u7ec8\u6b62\u884c s\/^\/#\/g\u201d&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p> :1,10s\/^\/#\/g<\/p>\n<p>\u8868\u793a\u5728\u7b2c 1~10 \u884c\u884c\u9996\u52a0&#034;#\u201c\u6ce8\u91ca\u3002\u201d^&#034;\u610f\u4e3a\u884c\u9996&#xff1b;&#034;g&#034;\u8868\u793a\u6267\u884c\u66ff\u6362\u65f6\u4e0d\u8be2\u95ee\u786e\u8ba4\u3002\u5982\u679c\u5e0c\u671b\u6bcf\u884c\u4ea4\u4e92\u8be2\u95ee\u662f\u5426\u6267\u884c&#xff0c;\u5219\u53ef\u5c06 \u201cg\u201d \u6539\u4e3a \u201cc\u201d\u3002<\/p>\n<\/li>\n<li>\n<p>\u53d6\u6d88\u8fde\u7eed\u884c\u6ce8\u91ca&#xff0c;\u5219\u53ef\u4ee5\u4f7f\u7528 \u201c:\u8d77\u59cb\u884c&#xff0c;\u7ec8\u6b62\u884cs\/^#\/\/g\u201d&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p> ;1,10s\/^#\/\/g<\/p>\n<p>\u610f\u4e3a\u5c06\u884c\u9996\u7684&#034;#&#034;\u66ff\u6362\u4e3a\u7a7a&#xff0c;\u5373\u5220\u9664\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u8bbe\u7f6e\u884c\u53f7\n<ul>\n<li>vim\u8bbe\u7f6e\u663e\u793a\u884c\u53f7<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>:set nu<\/p>\n<ul>\n<li>vim\u8bbe\u7f6e\u4e0d\u663e\u793a\u884c\u53f7<\/li>\n<\/ul>\n<p>:set nonu<\/p>\n<ul>\n<li>\u6c38\u4e45\u8bbe\u7f6e\u663e\u793a\u884c\u53f7\n<ul>\n<li>\u5728 ~\/ \u76ee\u5f55\u4e0b\u5efa\u7acb .vimrc \u6587\u4ef6&#xff0c;\u5e76\u5728\u5176\u4e2d\u6dfb\u52a0 set nu \u4ee3\u7801&#xff0c;\u5173\u95ed\u4fdd\u5b58\u8be5\u6587\u4ef6\u5373\u53ef\u3002# \u6b65\u9aa4\u5982\u4e0b<br \/>\ncd ~<br \/>\nvim .vimrc<br \/>\n\u5176\u4e2d\u6dfb\u52a0 set nu\n <\/li>\n<\/ul>\n<\/li>\n<li>vi\/vim\u952e\u76d8\u56fe <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418150225-680269814bad2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<\/ul>\n<h2>netstat\u8be6\u89e3<\/h2>\n<ul>\n<li>netstat\u547d\u4ee4\u662f\u4e00\u4e2a\u76d1\u63a7TCP\/IP\u7f51\u7edc\u7684\u975e\u5e38\u6709\u7528\u7684\u5de5\u5177&#xff0c;\u5b83\u53ef\u4ee5\u663e\u793a\u8def\u7531\u8868\u3001\u5b9e\u9645\u7684\u7f51\u7edc\u8fde\u63a5\u4ee5\u53ca\u6bcf\u4e00\u4e2a\u7f51\u7edc\u63a5\u53e3\u8bbe\u5907\u7684\u72b6\u6001\u4fe1\u606f\u3002\n<ul>\n<li>\u8bed\u6cd5&#xff1a;<\/li>\n<\/ul>\n<p> netstat [\u9009\u9879]\n <\/li>\n<li>\u8bf4\u660e&#xff1a;&#xff08;\u8fd8\u6709\u5f88\u591a\u9009\u9879\u5927\u5bb6\u53ef\u4ee5\u81ea\u5df1\u67e5\u8be2) <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418150225-68026981b2c9b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<\/ul>\n<h2>df\u547d\u4ee4\u8be6\u89e3<\/h2>\n<ul>\n<li>Linux df&#xff08;\u82f1\u6587\u5168\u62fc&#xff1a;disk free&#xff09; \u547d\u4ee4\u7528\u4e8e\u663e\u793a\u76ee\u524d\u5728 Linux \u7cfb\u7edf\u4e0a\u7684\u6587\u4ef6\u7cfb\u7edf\u78c1\u76d8\u4f7f\u7528\u60c5\u51b5\u7edf\u8ba1\u3002\n<ul>\n<li>\u8bed\u6cd5&#xff1a;<\/li>\n<\/ul>\n<p> df [\u9009\u9879]&#8230; [FILE]&#8230;<\/p>\n<ul>\n<li>\u6587\u4ef6-a, &#8211;all \u5305\u542b\u6240\u6709\u7684\u5177\u6709 0 Blocks \u7684\u6587\u4ef6\u7cfb\u7edf<\/li>\n<li>\u6587\u4ef6\u2013block-size&#061;{SIZE} \u4f7f\u7528 {SIZE} \u5927\u5c0f\u7684 Blocks<\/li>\n<li>\u6587\u4ef6-h, &#8211;human-readable \u4f7f\u7528\u4eba\u7c7b\u53ef\u8bfb\u7684\u683c\u5f0f(\u9884\u8bbe\u503c\u662f\u4e0d\u52a0\u8fd9\u4e2a\u9009\u9879\u7684\u2026)<\/li>\n<li>\u6587\u4ef6-H, &#8211;si \u5f88\u50cf -h, \u4f46\u662f\u7528 1000 \u4e3a\u5355\u4f4d\u800c\u4e0d\u662f\u7528 1024<\/li>\n<li>\u6587\u4ef6-i, &#8211;inodes \u5217\u51fa inode \u8d44\u8baf&#xff0c;\u4e0d\u5217\u51fa\u5df2\u4f7f\u7528 block<\/li>\n<li>\u6587\u4ef6-k, &#8211;kilobytes \u5c31\u50cf\u662f &#8211;block-size&#061;1024<\/li>\n<li>\u6587\u4ef6-l, &#8211;local \u9650\u5236\u5217\u51fa\u7684\u6587\u4ef6\u7ed3\u6784<\/li>\n<li>\u6587\u4ef6-m, &#8211;megabytes \u5c31\u50cf &#8211;block-size&#061;1048576<\/li>\n<li>\u6587\u4ef6-t, &#8211;type&#061;TYPE \u9650\u5236\u5217\u51fa\u6587\u4ef6\u7cfb\u7edf\u7684 TYPE<\/li>\n<li>\u6587\u4ef6-T, &#8211;print-type \u663e\u793a\u6587\u4ef6\u7cfb\u7edf\u7684\u5f62\u5f0f<\/li>\n<li>\u6587\u4ef6-x, &#8211;exclude-type&#061;TYPE \u9650\u5236\u5217\u51fa\u6587\u4ef6\u7cfb\u7edf\u4e0d\u8981\u663e\u793a TYPE<\/li>\n<li>\u6587\u4ef6-v (\u5ffd\u7565)<\/li>\n<li>\u6587\u4ef6\u2013help \u663e\u793a\u8fd9\u4e2a\u5e2e\u624b\u5e76\u4e14\u79bb\u5f00<\/li>\n<li>\u6587\u4ef6\u2013version \u8f93\u51fa\u7248\u672c\u8d44\u8baf\u5e76\u4e14\u79bb\u5f00<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>ps\u547d\u4ee4\u8be6\u89e3<\/h2>\n<ul>\n<li>\n<p>Linux ps &#xff08;\u82f1\u6587\u5168\u62fc&#xff1a;process status&#xff09;\u547d\u4ee4\u7528\u4e8e\u663e\u793a\u5f53\u524d\u8fdb\u7a0b\u7684\u72b6\u6001&#xff0c;\u7c7b\u4f3c\u4e8e windows \u7684\u4efb\u52a1\u7ba1\u7406\u5668\u3002<\/p>\n<ul>\n<li>\u8bed\u6cd5&#xff1a;<\/li>\n<\/ul>\n<p> ps [options] [&#8211;help]<\/p>\n<ul>\n<li>\u53c2\u6570&#xff1a;&#xff08;\u4ec5\u5217\u51fa\u51e0\u4e2a\u5e38\u7528\u7684\u53c2\u6570\u5e76\u5927\u7565\u4ecb\u7ecd\u542b\u4e49&#xff09;\n<ul>\n<li>-A \u5217\u51fa\u6240\u6709\u7684\u8fdb\u7a0b<\/li>\n<li>-au \u663e\u793a\u8f83\u8be6\u7ec6\u7684\u8d44\u8baf<\/li>\n<li>-aux \u663e\u793a\u6240\u6709\u5305\u542b\u5176\u4ed6\u4f7f\u7528\u8005\u7684\u8fdb\u7a0b<\/li>\n<li>-w \u663e\u793a\u52a0\u5bbd\u53ef\u4ee5\u663e\u793a\u8f83\u591a\u7684\u8d44\u8baf<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5b9e\u4f8b&#xff1a;<\/p>\n<ul>\n<li>\u67e5\u627e\u6307\u5b9a\u8fdb\u7a0b\u683c\u5f0f&#xff1a;<\/li>\n<\/ul>\n<p> ps -ef | grep \u8fdb\u7a0b\u5173\u952e\u5b57<\/p>\n<ul>\n<li>\u663e\u793a php \u7684\u8fdb\u7a0b&#xff1a;<\/li>\n<\/ul>\n<p> ps -ef | grep php<\/p>\n<ul>\n<li>\u663e\u793a\u8fdb\u7a0b\u4fe1\u606f<\/li>\n<\/ul>\n<p> ps -A <\/p>\n<ul>\n<li>\u663e\u793a\u6307\u5b9a\u7528\u6237\u4fe1\u606f<\/li>\n<\/ul>\n<p> ps -u root \/\/\u663e\u793aroot\u8fdb\u7a0b\u7528\u6237\u4fe1\u606f<\/p>\n<ul>\n<li>\u663e\u793a\u6240\u6709\u8fdb\u7a0b\u4fe1\u606f&#xff0c;\u8fde\u540c\u547d\u4ee4\u884c<\/li>\n<\/ul>\n<p> ps -ef \/\/\u663e\u793a\u6240\u6709\u547d\u4ee4&#xff0c;\u8fde\u5e26\u547d\u4ee4\u884c\n <\/li>\n<\/ul>\n<h2>find\u547d\u4ee4\u8be6\u89e3<\/h2>\n<ul>\n<li>Linux find \u547d\u4ee4\u7528\u4e8e\u5728\u6307\u5b9a\u76ee\u5f55\u4e0b\u67e5\u627e\u6587\u4ef6\u548c\u76ee\u5f55\u3002<\/li>\n<li>\u5b83\u53ef\u4ee5\u4f7f\u7528\u4e0d\u540c\u7684\u9009\u9879\u6765\u8fc7\u6ee4\u548c\u9650\u5236\u67e5\u627e\u7684\u7ed3\u679c\u3002<\/li>\n<li>\u8bed\u6cd5&#xff1a;<\/li>\n<\/ul>\n<p>find [path] [erpression]<\/p>\n<ul>\n<li>\n<p>\u53c2\u6570\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>path \u662f\u8981\u67e5\u627e\u7684\u76ee\u5f55\u8def\u5f84&#xff0c;\u53ef\u4ee5\u662f\u4e00\u4e2a\u76ee\u5f55\u6216\u6587\u4ef6\u540d&#xff0c;\u4e5f\u53ef\u4ee5\u662f\u591a\u4e2a\u8def\u5f84&#xff0c;\u591a\u4e2a\u8def\u5f84\u4e4b\u95f4\u7528\u7a7a\u683c\u5206\u9694&#xff0c;\u5982\u679c\u672a\u6307\u5b9a\u8def\u5f84&#xff0c;\u5219\u9ed8\u8ba4\u4e3a\u5f53\u524d\u76ee\u5f55\u3002<\/li>\n<li>expression \u662f\u53ef\u9009\u53c2\u6570&#xff0c;\u7528\u4e8e\u6307\u5b9a\u67e5\u627e\u7684\u6761\u4ef6&#xff0c;\u53ef\u4ee5\u662f\u6587\u4ef6\u540d\u3001\u6587\u4ef6\u7c7b\u578b\u3001\u6587\u4ef6\u5927\u5c0f\u7b49\u7b49\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5b9e\u4f8b&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418150226-6802698201fdf.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.6k\u6b21\uff0c\u70b9\u8d5e31\u6b21\uff0c\u6536\u85cf31\u6b21\u3002tar\u6253\u5305\u547d\u4ee4\u8be6\u89e3\u3001unzip\u547d\u4ee4\uff1a\u89e3\u538bzip\u6587\u4ef6\u3001vim\u64cd\u4f5c\u8be6\u89e3\u3001netstat\u8be6\u89e3\u3001df\u547d\u4ee4\u8be6\u89e3\u3001ps\u547d\u4ee4\u8be6\u89e3\u3001find\u547d\u4ee4\u8be6\u89e3_tar cvf<\/p>\n","protected":false},"author":2,"featured_media":16580,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,190,43],"topic":[],"class_list":["post-16590","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-190","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux\u5e38\u7528\u5de5\u5177 - \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\/16590.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux\u5e38\u7528\u5de5\u5177 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.6k\u6b21\uff0c\u70b9\u8d5e31\u6b21\uff0c\u6536\u85cf31\u6b21\u3002tar\u6253\u5305\u547d\u4ee4\u8be6\u89e3\u3001unzip\u547d\u4ee4\uff1a\u89e3\u538bzip\u6587\u4ef6\u3001vim\u64cd\u4f5c\u8be6\u89e3\u3001netstat\u8be6\u89e3\u3001df\u547d\u4ee4\u8be6\u89e3\u3001ps\u547d\u4ee4\u8be6\u89e3\u3001find\u547d\u4ee4\u8be6\u89e3_tar cvf\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/16590.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T15:02:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418150224-6802698046363.png\" \/>\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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/16590.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/16590.html\",\"name\":\"Linux\u5e38\u7528\u5de5\u5177 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T15:02:27+00:00\",\"dateModified\":\"2025-04-18T15:02:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/16590.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/16590.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/16590.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\u5e38\u7528\u5de5\u5177\"}]},{\"@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\u5e38\u7528\u5de5\u5177 - \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\/16590.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux\u5e38\u7528\u5de5\u5177 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.6k\u6b21\uff0c\u70b9\u8d5e31\u6b21\uff0c\u6536\u85cf31\u6b21\u3002tar\u6253\u5305\u547d\u4ee4\u8be6\u89e3\u3001unzip\u547d\u4ee4\uff1a\u89e3\u538bzip\u6587\u4ef6\u3001vim\u64cd\u4f5c\u8be6\u89e3\u3001netstat\u8be6\u89e3\u3001df\u547d\u4ee4\u8be6\u89e3\u3001ps\u547d\u4ee4\u8be6\u89e3\u3001find\u547d\u4ee4\u8be6\u89e3_tar cvf","og_url":"https:\/\/www.wsisp.com\/helps\/16590.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T15:02:27+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418150224-6802698046363.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/16590.html","url":"https:\/\/www.wsisp.com\/helps\/16590.html","name":"Linux\u5e38\u7528\u5de5\u5177 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T15:02:27+00:00","dateModified":"2025-04-18T15:02:27+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/16590.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/16590.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/16590.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux\u5e38\u7528\u5de5\u5177"}]},{"@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\/16590","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=16590"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/16590\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/16580"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=16590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=16590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=16590"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=16590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}