{"id":16124,"date":"2024-11-18T12:16:12","date_gmt":"2024-11-18T04:16:12","guid":{"rendered":"https:\/\/fwq.ai\/blog\/16124\/"},"modified":"2024-11-18T12:16:12","modified_gmt":"2024-11-18T04:16:12","slug":"linux%e4%b8%ad%e7%ac%a6%e5%8f%b7%e7%9a%84%e4%bd%9c%e7%94%a8%e6%98%af%e4%bb%80%e4%b9%88","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/16124\/","title":{"rendered":"linux\u4e2d\u7b26\u53f7\u7684\u4f5c\u7528\u662f\u4ec0\u4e48"},"content":{"rendered":"<blockquote><p>\n  linux\u4e2d\u7b26\u53f7\u6709\u4e0d\u540c\u7684\u4f5c\u7528\uff0c\u53d6\u51b3\u4e8e\u5176\u5728\u7279\u5b9a\u4e0a\u4e0b\u6587\u4e2d\u7684\u4f7f\u7528\uff0c\u793a\u4f8b\u6709\uff1a1\u3001\u7ba1\u9053\u7b26\u53f7\u201c|\u201d\uff0c\u7528\u4e8e\u5c06\u4e00\u4e2a\u547d\u4ee4\u7684\u8f93\u51fa\u4f20\u9012\u7ed9\u53e6\u4e00\u4e2a\u547d\u4ee4\u4f5c\u4e3a\u8f93\u5165\uff1b2\u3001\u91cd\u5b9a\u5411\u7b26\u53f7\u201c&gt;\u201d\u548c\u201c&gt;&gt;\u201d\uff0c\u7528\u4e8e\u5c06\u547d\u4ee4\u7684\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u6587\u4ef6\u4e2d\uff1b3\u3001\u7ba1\u7406\u540e\u53f0\u8fd0\u884c\u7b26\u53f7\u201c&amp;\u201d\uff0c\u7528\u4e8e\u5728\u540e\u53f0\u8fd0\u884c\u547d\u4ee4\uff0c\u5373\u4f7f\u7ec8\u7aef\u7a97\u53e3\u5173\u95ed\uff0c\u547d\u4ee4\u4e5f\u80fd\u7ee7\u7eed\u6267\u884c\uff1b4\u3001\u901a\u914d\u7b26\u201c*\u201d\u548c\u201c?\u201d\uff0c\u7528\u4e8e\u5339\u914d\u6587\u4ef6\u540d\u6216\u5176\u4ed6\u5b57\u7b26\u4e32\u7684\u4e00\u90e8\u5206\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202307\/06\/2023070614454110449.jpg\" class=\"aligncenter\" title=\"linux\u4e2d\u7b26\u53f7\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe\" alt=\"linux\u4e2d\u7b26\u53f7\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe\" \/><\/p>\n<p>\u672c\u6559\u7a0b\u64cd\u4f5c\u7cfb\u7edf\uff1aLinux5.18.14\u7cfb\u7edf\u3001Dell G3\u7535\u8111\u3002<\/p>\n<p><strong>\u5728Linux\u4e2d\uff0c\u7b26\u53f7\u6709\u4e0d\u540c\u7684\u4f5c\u7528\uff0c\u53d6\u51b3\u4e8e\u5176\u5728\u7279\u5b9a\u4e0a\u4e0b\u6587\u4e2d\u7684\u4f7f\u7528\u3002\u4ee5\u4e0b<\/strong>\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u7b26\u53f7\u53ca\u5176\u4f5c\u7528\u7684\u793a\u4f8b\uff1a<\/p>\n<ol>\n<li>\n<p><strong>\u7ba1\u9053\u7b26\u53f7&nbsp;|<\/strong>\uff1a\u7528\u4e8e\u5c06\u4e00\u4e2a\u547d\u4ee4\u7684\u8f93\u51fa\u4f20\u9012\u7ed9\u53e6\u4e00\u4e2a\u547d\u4ee4\u4f5c\u4e3a\u8f93\u5165\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528command1 | command2\u5c06command1\u7684\u8f93\u51fa\u4f5c\u4e3acommand2\u7684\u8f93\u5165\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u91cd\u5b9a\u5411\u7b26\u53f7&nbsp;&gt;&nbsp;\u548c&nbsp;&gt;&gt;\uff1a<\/strong>\u7528\u4e8e\u5c06\u547d\u4ee4\u7684\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u6587\u4ef6\u4e2d\u3002&gt;\u8868\u793a\u8986\u76d6\u5199\u5165\uff0c\u800c&gt;&gt;\u8868\u793a\u8ffd\u52a0\u5199\u5165\u3002\u4f8b\u5982\uff0ccommand &gt; file\u5c06command\u7684\u8f93\u51fa\u5199\u5165file\u4e2d\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u7ba1\u7406\u540e\u53f0\u8fd0\u884c\u7b26\u53f7&nbsp;&amp;\uff1a<\/strong>\u7528\u4e8e\u5728\u540e\u53f0\u8fd0\u884c\u547d\u4ee4\uff0c\u5373\u4f7f\u7ec8\u7aef\u7a97\u53e3\u5173\u95ed\uff0c\u547d\u4ee4\u4e5f\u80fd\u7ee7\u7eed\u6267\u884c\u3002\u4f8b\u5982\uff0ccommand &amp;\u5c06command\u4f5c\u4e3a\u540e\u53f0\u8fdb\u7a0b\u8fd0\u884c\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u901a\u914d\u7b26&nbsp;*&nbsp;\u548c&nbsp;?\uff1a<\/strong>\u7528\u4e8e\u5339\u914d\u6587\u4ef6\u540d\u6216\u5176\u4ed6\u5b57\u7b26\u4e32\u7684\u4e00\u90e8\u5206\u3002*\u8868\u793a\u96f6\u4e2a\u6216\u591a\u4e2a\u5b57\u7b26\uff0c\u800c?\u8868\u793a\u4e00\u4e2a\u4efb\u610f\u5b57\u7b26\u3002\u4f8b\u5982\uff0cls *.txt\u5c06\u5217\u51fa\u6240\u6709\u4ee5.txt\u7ed3\u5c3e\u7684\u6587\u4ef6\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u8fd9\u53ea\u662f\u4e00\u4e9b\u5728Linux\u4e2d\u5e38\u89c1\u7684\u7b26\u53f7\u53ca\u5176\u4f5c\u7528\u7684\u793a\u4f8b\uff0c\u8fd8\u6709\u5176\u4ed6\u8bb8\u591a\u7b26\u53f7\u5177\u6709\u4e0d\u540c\u7684\u7528\u9014\u3002\u7b26\u53f7\u7684\u4f7f\u7528\u53ef\u4ee5\u63d0\u4f9b\u66f4\u7075\u6d3b\u548c\u5f3a\u5927\u7684\u547d\u4ee4\u884c\u529f\u80fd\uff0c\u5141\u8bb8\u5bf9\u8f93\u5165\u3001\u8f93\u51fa\u3001\u6587\u4ef6\u548c\u8fdb\u7a0b\u8fdb\u884c\u63a7\u5236\u548c\u64cd\u4f5c\u3002\u4e86\u89e3\u8fd9\u4e9b\u7b26\u53f7\u7684\u7528\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u5229\u7528Linux\u7684\u529f\u80fd\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u4e2d\u7b26\u53f7\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>linux\u4e2d\u7b26\u53f7\u6709\u4e0d\u540c\u7684\u4f5c\u7528\uff0c\u53d6\u51b3\u4e8e\u5176\u5728\u7279\u5b9a\u4e0a\u4e0b\u6587\u4e2d\u7684\u4f7f\u7528\uff0c\u793a\u4f8b\u6709\uff1a1\u3001\u7ba1\u9053\u7b26\u53f7\u201c|\u201d\uff0c\u7528\u4e8e\u5c06\u4e00\u4e2a\u547d\u4ee4\u7684\u8f93\u51fa\u4f20\u9012\u7ed9\u53e6\u4e00\u4e2a\u547d\u4ee4\u4f5c\u4e3a\u8f93\u5165\uff1b2\u3001\u91cd\u5b9a\u5411\u7b26\u53f7\u201c&gt;\u201d\u548c\u201c&gt;&gt;\u201d\uff0c\u7528\u4e8e\u5c06\u547d\u4ee4\u7684\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u6587\u4ef6\u4e2d\uff1b3\u3001\u7ba1\u7406\u540e\u53f0\u8fd0\u884c\u7b26\u53f7\u201c&amp;\u201d\uff0c\u7528\u4e8e\u5728\u540e\u53f0\u8fd0\u884c\u547d\u4ee4\uff0c\u5373\u4f7f\u7ec8\u7aef\u7a97\u53e3\u5173\u95ed\uff0c\u547d\u4ee4\u4e5f\u80fd\u7ee7\u7eed\u6267\u884c\uff1b4\u3001\u901a\u914d\u7b26\u201c*\u201d\u548c\u201c?\u201d\uff0c\u7528\u4e8e\u5339\u914d\u6587\u4ef6\u540d\u6216\u5176\u4ed6\u5b57\u7b26\u4e32\u7684\u4e00\u90e8\u5206\u3002 \u672c\u6559\u7a0b\u64cd\u4f5c\u7cfb\u7edf\uff1aLinux5.18.14\u7cfb\u7edf\u3001Dell G3\u7535\u8111\u3002 \u5728Linux\u4e2d\uff0c\u7b26\u53f7\u6709\u4e0d\u540c\u7684\u4f5c\u7528\uff0c\u53d6\u51b3\u4e8e\u5176\u5728\u7279\u5b9a\u4e0a\u4e0b\u6587\u4e2d\u7684\u4f7f\u7528\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u7b26\u53f7\u53ca\u5176\u4f5c\u7528\u7684\u793a\u4f8b\uff1a \u7ba1\u9053\u7b26\u53f7&nbsp;|\uff1a\u7528\u4e8e\u5c06\u4e00\u4e2a\u547d\u4ee4\u7684\u8f93\u51fa\u4f20\u9012\u7ed9\u53e6\u4e00\u4e2a\u547d\u4ee4\u4f5c\u4e3a\u8f93\u5165\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528command1 | command2\u5c06command1\u7684\u8f93\u51fa\u4f5c\u4e3acommand2\u7684\u8f93\u5165\u3002 \u91cd\u5b9a\u5411\u7b26\u53f7&nbsp;&gt;&nbsp;\u548c&nbsp;&gt;&gt;\uff1a\u7528\u4e8e\u5c06\u547d\u4ee4\u7684\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u6587\u4ef6\u4e2d\u3002&gt;\u8868\u793a\u8986\u76d6\u5199\u5165\uff0c\u800c&gt;&gt;\u8868\u793a\u8ffd\u52a0\u5199\u5165\u3002\u4f8b\u5982\uff0ccommand &gt; file\u5c06command\u7684\u8f93\u51fa\u5199\u5165file\u4e2d\u3002 \u7ba1\u7406\u540e\u53f0\u8fd0\u884c\u7b26\u53f7&nbsp;&amp;\uff1a\u7528\u4e8e\u5728\u540e\u53f0\u8fd0\u884c\u547d\u4ee4\uff0c\u5373\u4f7f\u7ec8\u7aef\u7a97\u53e3\u5173\u95ed\uff0c\u547d\u4ee4\u4e5f\u80fd\u7ee7\u7eed\u6267\u884c\u3002\u4f8b\u5982\uff0ccommand &amp;\u5c06command\u4f5c\u4e3a\u540e\u53f0\u8fdb\u7a0b\u8fd0\u884c\u3002 \u901a\u914d\u7b26&nbsp;*&nbsp;\u548c&nbsp;?\uff1a\u7528\u4e8e\u5339\u914d\u6587\u4ef6\u540d\u6216\u5176\u4ed6\u5b57\u7b26\u4e32\u7684\u4e00\u90e8\u5206\u3002*\u8868\u793a\u96f6\u4e2a\u6216\u591a\u4e2a\u5b57\u7b26\uff0c\u800c?\u8868\u793a\u4e00\u4e2a\u4efb\u610f\u5b57\u7b26\u3002\u4f8b\u5982\uff0cls *.txt\u5c06\u5217\u51fa\u6240\u6709\u4ee5.txt\u7ed3\u5c3e\u7684\u6587\u4ef6\u3002 \u8fd9\u53ea\u662f\u4e00\u4e9b\u5728Linux\u4e2d\u5e38\u89c1\u7684\u7b26\u53f7\u53ca\u5176\u4f5c\u7528\u7684\u793a\u4f8b\uff0c\u8fd8\u6709\u5176\u4ed6\u8bb8\u591a\u7b26\u53f7\u5177\u6709\u4e0d\u540c\u7684\u7528\u9014\u3002\u7b26\u53f7\u7684\u4f7f\u7528\u53ef\u4ee5\u63d0\u4f9b\u66f4\u7075\u6d3b\u548c\u5f3a\u5927\u7684\u547d\u4ee4\u884c\u529f\u80fd\uff0c\u5141\u8bb8\u5bf9\u8f93\u5165\u3001\u8f93\u51fa\u3001\u6587\u4ef6\u548c\u8fdb\u7a0b\u8fdb\u884c\u63a7\u5236\u548c\u64cd\u4f5c\u3002\u4e86\u89e3\u8fd9\u4e9b\u7b26\u53f7\u7684\u7528\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u5229\u7528Linux\u7684\u529f\u80fd\u3002 \u4ee5\u4e0a\u5c31\u662f\u4e2d\u7b26\u53f7\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-16124","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/16124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=16124"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/16124\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=16124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=16124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=16124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}