{"id":18251,"date":"2024-04-16T04:16:50","date_gmt":"2024-04-15T20:16:50","guid":{"rendered":"https:\/\/www.linuxcool.com\/lbbfmlszznqs"},"modified":"2024-04-16T04:16:50","modified_gmt":"2024-04-15T20:16:50","slug":"lbbfmlszznqs","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lbbfmlszznqs","title":{"rendered":"Linux\u5fc5\u5907\uff01Find\u547d\u4ee4\u5b9e\u6218\u6307\u5357\uff0c\u8f7b\u677e\u5b9a\u4f4d\u76ee\u6807\u6587\u4ef6"},"content":{"rendered":"<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><a style='color:#0000CC' href='https:\/\/www.linuxprobe.com\/' target='_blank' rel=\"noopener\">Linux<\/a><a style='color:#0000CC' href='https:\/\/www.linuxdown.com\/' target='_blank' rel=\"noopener\">\u7cfb\u7edf<\/a>\u5185\u5efa\u7684find<a style='color:#0000CC' href='https:\/\/www.linuxcool.com\/' target='_blank' rel=\"noopener\">\u547d\u4ee4<\/a>\u5177\u6709\u5e7f\u6cdb\u591a\u6837\u7684\u7528\u9014\uff0c\u53ef\u7cbe\u51c6\u5730\u68c0\u7d22\u7279\u5b9a\u8def\u5f84\u4e2d\u5305\u542b\u7684\u6587\u4ef6\u4e0e\u9879\u76ee\u3002\u8fd0\u7528\u6b64\u6307\u4ee4\uff0c\u7528\u6237\u53ef\u4ee5\u4f9d\u636e\u591a\u79cd\u6587\u4ef6\u7279\u6027<strong>linux find \u76ee\u5f55 \u547d\u4ee4<\/strong><strong>linux find \u76ee\u5f55 \u547d\u4ee4<\/strong>\uff0c\u4f8b\u5982\u540d\u79f0\u3001\u4f53\u79ef\u751a\u81f3\u6743\u9650\uff0c\u6765\u5feb\u901f\u5b9a\u4f4d\u9700\u8981\u67e5\u770b\u7684\u6587\u4ef6\u6216\u76ee\u5f55\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u63a2\u8ba8find\u547d\u4ee4\u5728Linux\u73af\u5883\u4e0b\u7684\u57fa\u7840\u7528\u6cd5\u3001\u5e38\u7528\u9009\u9879\u4ee5\u53ca\u5b9e\u9645\u64cd\u4f5c\u793a\u4f8b\u7b49\u91cd\u8981\u5185\u5bb9\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>1.\u57fa\u672c\u4ecb\u7ecd<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5728Linux\u7cfb\u7edf\u4e2d\uff0cFind\u547d\u4ee4\u4ee5\u98de\u901f\u548c\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u6210\u4e3a\u7528\u6237\u6548\u7387\u63d0\u5347\u7684\u5229\u5668\u3002\u5b83\u80fd\u591f\u7cbe\u786e\u5730\u5b9a\u4f4d\u5e76\u627e\u5230\u76ee\u6807\u6587\u4ef6\u6240\u5728\u7684\u7279\u5b9a\u76ee\u5f55\u3002\u5176\u4e3b\u8981\u64cd\u4f5c\u5982\u4e0b\u6240\u8ff0\uff1a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>&#8220;`<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>find[path&#8230;][expression]<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5728\u6b64\u6a21\u5f0f\u4e0b\uff0c\u9700\u6307\u5b9a\u5f85\u67e5\u627e\u7684\u8def\u5f84\uff08\u5373&#8217;path&#8217;\uff09\u4ee5\u53ca\u5339\u914d\u6761\u4ef6\uff08\u5373&#8217;expression&#8217;\uff09\u3002\u82e5\u672a\u8bbe\u7f6e\u540e\u8005\uff0c\u5219\u7cfb\u7edf\u9ed8\u8ba4\u5728\u5f53\u524d\u6587\u6863\u5185\u8fdb\u884c\u641c\u7d22\u3002\u7528\u6237\u53ef\u6839\u636e\u5b9e\u9645\u9700\u6c42\u5bf9\u5404\u9879\u53c2\u6570\u548c\u975e\u4e25\u683c\u5339\u914d\u6761\u4ef6\u8fdb\u884c\u8c03\u6574\uff0c\u4ee5\u5b9e\u73b0\u66f4\u4e3a\u7cbe\u51c6\u7684\u68c0\u7d22\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>2.\u5e38\u89c1\u53c2\u6570<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-`-name`\uff1a\u6309\u7167\u6587\u4ef6\u540d\u8fdb\u884c\u5339\u914d\u641c\u7d22\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-`-type`:\u6b64\u53c2\u6570\u652f\u6301\u6839\u636e\u6587\u4ef6\u683c\u5f0f\u8fdb\u884c\u5206\u7c7b\u8fc7\u6ee4linux\u6807\u51c6\u6559\u7a0b\uff0c\u5982\u4ee5&#8221;f&#8221;\u6807\u8bb0\u4e3a\u5e38\u89c4\u6587\u4ef6\uff0c\u7528&#8221;d&#8221;\u6807\u8bc6\u4e3a\u76ee\u5f55\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>`-size`:\u7cbe\u786e\u5206\u6790\u6587\u4ef6\u5c3a\u5bf8\uff0c\u652f\u6301+\/-\u8fd0\u7b97\u7b26\u5b9e\u73b0\u7279\u5b9a\u8303\u56f4\u7684\u5339\u914d\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-`-user`\uff1a\u6309\u7167\u6587\u4ef6\u5c5e\u4e3b\u8fdb\u884c\u641c\u7d22\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-`-group`\uff1a\u6309\u7167\u6587\u4ef6\u6240\u5c5e\u7ec4\u8fdb\u884c\u641c\u7d22\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-`-perm`\uff1a\u6309\u7167\u6587\u4ef6\u6743\u9650\u8fdb\u884c\u641c\u7d22\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6839\u636e\u8fd9\u4e9b\u9884\u8bbe\u53c2\u6570\uff0c\u7528\u6237\u80fd\u591f\u4f9d\u636e\u4e2a\u4eba\u504f\u597d\u8fdb\u884c\u6761\u4ef6\u5b9a\u5236\uff0c\u4ece\u800c\u5b9e\u73b0\u9ad8\u5ea6\u7cbe\u51c6\u7684\u6587\u6863\u68c0\u7d22\u670d\u52a1\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>3.\u5b9e\u4f8b\u5e94\u7528<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2024\/04\/1713212210696_0.png' alt='linux find \u76ee\u5f55 \u547d\u4ee4_\u65b0\u5efa\u76ee\u5f55\u547d\u4ee4Linux_\u76ee\u5f55\u547d\u4ee4\u5728\u4ec0\u4e48\u9009\u9879\u5361\u4e2d' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>###\u5b9e\u4f8b1\uff1a\u6309\u540d\u79f0\u67e5\u627e<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u4f7f\u7528\u4e0b\u8ff0\u6307\u4ee4\u53ef\u5728\u60a8\u5f53\u524d\u6240\u5728\u6587\u4ef6\u5939\u53ca\u5b50\u76ee\u5f55\u4e2d\u641c\u7d22\u5177\u5907&#8221;example.txt&#8221;\u540d\u79f0\u7684\u6587\u6863\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>find.-nameexample.txt<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>###\u5b9e\u4f8b2\uff1a\u6309\u7c7b\u578b\u67e5\u627e<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6b32\u6df1\u5165\u4e86\u89e3\u5f53\u524d\u8def\u5f84\u4ee5\u53ca\u641c\u7d22\u6240\u6709\u7c7b\u578b\u7684\u5e38\u89c4\u6587\u4ef6\uff08\u5176\u4e2d\u5305\u62ec\u5b50\u7ed3\u6784\u4e2d\u5305\u542b\u7684\u5404\u9879\uff09\uff0c\u656c\u8bf7\u6267\u884c\u4ee5\u4e0b\u6240\u63d0\u4f9b\u7684\u53c2\u8003\u6307\u4ee4\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>find.-typef<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>###\u5b9e\u4f8b3\uff1a\u6309\u5927\u5c0f\u67e5\u627e<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u8981\u5728\u5f53\u524d\u76ee\u5f55\u4e2d\u67e5\u627e\u5927\u5c0f\u5927\u4e8e10M\u7684\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>find.-size+10M<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>###\u5b9e\u4f8b4\uff1a\u6309\u6743\u9650\u67e5\u627e<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u8981\u641c\u7d22\u73b0\u6709\u76ee\u5f55\u4e0b\u7684\u5168\u90e8\u5177\u6709\u4fee\u6539\u6743\u9650\u7684\u6587\u6863\uff0c\u8bf7\u4f7f\u7528\u5982\u4e0b\u6307\u4ee4\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>find.-perm\/u=w<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u7ecf\u7531\u5b9e\u4f8b\u5e94\u7528\u63ed\u793a\uff0cFind\u6307\u4ee4\u5728\u6587\u4ef6\u68c0\u7d22\u65b9\u9762\u62e5\u6709\u663e\u8457\u6548\u7528\u53ca\u5f3a\u5927\u6027\u80fd\u3002\u5176\u5728\u7cfb\u7edf\u7ba1\u7406\u4ee5\u53ca\u7528\u6237\u65e5\u5e38\u64cd\u4f5c\u7b49\u8bf8\u591a\u573a\u5408\u5747\u80fd\u53d1\u6325\u5173\u952e\u4f5c\u7528\uff0c\u6ee1\u8db3\u591a\u6837\u5316\u7684\u6587\u4ef6\u67e5\u8be2\u9700\u6c42\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>4.\u9ad8\u7ea7\u6280\u5de7<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u9664\u4e86\u57fa\u7840\u64cd\u4f5c\u4e0e\u8bbe\u5b9a\u53c2\u6570\uff0c\u672c\u7bc7\u8be6\u5c3d\u6307\u5357\u65e8\u5728\u5e2e\u52a9\u60a8\u5168\u9762\u638c\u63e1find\u547d\u4ee4\u7684\u4f7f\u7528\u6280\u5de7\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-\u7ed3\u5408exec\u53c2\u6570\u6267\u884c\u5176\u4ed6\u64cd\u4f5c\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-\u4f7f\u7528-o\u548c-a\u53c2\u6570\u5b9e\u73b0\u903b\u8f91\u6216\u548c\u903b\u8f91\u4e0e\u64cd\u4f5c\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-\u7ed3\u5408xargs\u547d\u4ee4\u6279\u91cf\u5904\u7406\u67e5\u627e\u7ed3\u679c\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u8be5\u9879\u6df1\u5c42\u6b21\u7684\u6280\u672f\uff0c\u80fd\u591f\u5e2e\u52a9\u7528\u6237\u5168\u9762\u800c\u7cbe\u51c6\u5730\u7406\u89e3\u548c\u8fd0\u7528find\u6307\u4ee4\uff0c\u4ece\u800c\u9ad8\u6548\u89e3\u51b3\u5404\u79cd\u95ee\u9898\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>5.\u6ce8\u610f\u4e8b\u9879<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5728\u4f7f\u7528find\u547d\u4ee4\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-\u8c28\u614e\u4f7f\u7528\u901a\u914d\u7b26*\u4ee5\u907f\u514d\u610f\u5916\u5339\u914d\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-\u5c3d\u91cf\u6307\u5b9a\u660e\u786e\u7684\u8def\u5f84\u4ee5\u51cf\u5c11\u641c\u7d22\u8303\u56f4\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-\u6ce8\u610f\u6743\u9650\u95ee\u9898\u4ee5\u514d\u51fa\u73b0\u65e0\u6cd5\u8bbf\u95ee\u6216\u64cd\u4f5c\u7684\u60c5\u51b5\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u606a\u5b88\u4e0a\u8ff0\u51c6\u5219linux windows\uff0c\u80fd\u786e\u4fddfind\u547d\u4ee4\u66f4\u9ad8\u6548\u4e14\u5b89\u5168\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>6.\u603b\u7ed3<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5728Linux\u7cfb\u7edf\u73af\u5883\u4e0b\uff0cFind\u6307\u4ee4\u56e0\u5176\u5f3a\u5927\u7684\u7075\u6d3b\u6027\uff0c\u5728\u6587\u4ef6\u7ba1\u7406\u53ca\u7cfb\u7edf\u7ef4\u62a4\u9886\u57df\u6709\u7740\u5e7f\u6cdb\u5e94\u7528\u3002\u6df1\u5165\u4e86\u89e3\u5e76\u719f\u7ec3\u8fd0\u7528\u6b64\u547d\u4ee4\u57fa\u7840\u529f\u80fd\u3001\u5e38\u7528\u53c2\u6570\u8bbe\u7f6e\u3001\u5b9e\u9645\u6848\u4f8b\u89e3\u6790\uff0c\u4ee5\u53ca\u6280\u5de7\u8fdb\u9636\uff0c\u5c06\u6709\u52a9\u4e8e\u4f7f\u7528\u8005\u66f4\u4e3a\u9ad8\u6548\u5730\u5e94\u5bf9\u5404\u7c7b\u590d\u6742\u95ee\u9898\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u8bda\u631a\u9080\u8bf7\u5404\u4f4d\u63a2\u8ba8\uff0c\u5728Linux\u65e5\u5e38\u64cd\u4f5c\u4e2d\uff0cfind\u6307\u4ee4\u7684\u9891\u7e41\u7a0b\u5ea6\u53ca\u5176\u72ec\u7279\u4ef7\u503c\u3002\u671f\u5f85\u5927\u5bb6\u8e0a\u8dc3\u5206\u4eab\u89c1\u89e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b83\u80fd\u591f\u7cbe\u786e\u5730\u5b9a\u4f4d\u5e76\u627e\u5230\u76ee\u6807\u6587\u4ef6\u6240\u5728\u7684\u7279\u5b9a\u76ee\u5f55\u3002\u4f7f\u7528\u4e0b\u8ff0\u6307\u4ee4\u53ef\u5728\u60a8\u5f53\u524d\u6240\u5728\u6587\u4ef6\u5939\u53ca\u5b50\u76ee\u5f55\u4e2d\u641c\u7d22\u5177\u5907example.\u8981\u5728\u5f53\u524d\u76ee\u5f55\u4e2d\u67e5\u627e\u5927\u5c0f\u5927\u4e8e10M\u7684\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a\u9664\u4e86\u57fa\u7840\u64cd\u4f5c\u4e0e\u8bbe\u5b9a\u53c2\u6570\uff0c\u672c\u7bc7\u8be6\u5c3d\u6307\u5357\u65e8\u5728\u5e2e\u52a9\u60a8\u5168\u9762\u638c\u63e1find\u547d\u4ee4\u7684\u4f7f\u7528\u6280\u5de7\u3002<\/p>\n","protected":false},"author":1,"featured_media":18252,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[23,53],"class_list":["post-18251","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-lxt","tag-mlms"],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/18251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=18251"}],"version-history":[{"count":0,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/18251\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media\/18252"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=18251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=18251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=18251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}