{"id":433,"date":"2013-07-31T19:25:40","date_gmt":"2013-07-31T19:25:40","guid":{"rendered":"https:\/\/shan.info\/new\/find%e5%91%bd%e4%bb%a4-%e4%b9%8b%e6%9f%a5%e6%89%be%e6%8c%87%e5%ae%9a%e6%97%b6%e9%97%b4%e5%86%85%e4%bf%ae%e6%94%b9%e8%bf%87%e7%9a%84%e6%96%87%e4%bb%b6\/"},"modified":"2013-07-31T19:25:40","modified_gmt":"2013-07-31T19:25:40","slug":"find%e5%91%bd%e4%bb%a4-%e4%b9%8b%e6%9f%a5%e6%89%be%e6%8c%87%e5%ae%9a%e6%97%b6%e9%97%b4%e5%86%85%e4%bf%ae%e6%94%b9%e8%bf%87%e7%9a%84%e6%96%87%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/find%e5%91%bd%e4%bb%a4-%e4%b9%8b%e6%9f%a5%e6%89%be%e6%8c%87%e5%ae%9a%e6%97%b6%e9%97%b4%e5%86%85%e4%bf%ae%e6%94%b9%e8%bf%87%e7%9a%84%e6%96%87%e4%bb%b6\/","title":{"rendered":"find\u547d\u4ee4 \u2014 \u4e4b\u67e5\u627e\u6307\u5b9a\u65f6\u95f4\u5185\u4fee\u6539\u8fc7\u7684\u6587\u4ef6"},"content":{"rendered":"<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\"><span class=\"wp_keywordlink_affiliate\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\"><a style=\"color: #0196e3;\" title=\"\u67e5\u770b find \u4e2d\u7684\u5168\u90e8\u6587\u7ae0\" href=\"http:\/\/www.92csz.com\/tag\/find\" target=\"_blank\">find<\/a><\/span>\u547d\u4ee4 &#8212; \u4e4b\u67e5\u627e\u6307\u5b9a\u65f6\u95f4\u5185\u4fee\u6539\u8fc7\u7684\u6587\u4ef6<br \/>\u6bd4\u5982\u6211\u4eec\u8981\u67e5\u627e<span class=\"wp_keywordlink\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\"><a style=\"color: #0196e3;\" title=\"\u66f4\u591aLinux\u76f8\u5173\u6587\u7ae0\" href=\"http:\/\/www.92csz.com\/category\/unix\/linux-unix\" target=\"_blank\">linux<\/a><\/span>\u4e0b\u6307\u5b9a\u65f6\u95f4\u5185\u505a\u8fc7\u6539\u52a8\u7684\u6587\u4ef6\uff0c\u6211\u4eec\u53ef\u4ee5\u7528<span class=\"wp_keywordlink_affiliate\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\"><a style=\"color: #0196e3;\" title=\"\u67e5\u770b find \u4e2d\u7684\u5168\u90e8\u6587\u7ae0\" href=\"http:\/\/www.92csz.com\/tag\/find\" target=\"_blank\">find<\/a><\/span>\u547d\u4ee4\uff0c\u5176\u5b9e<span class=\"wp_keywordlink_affiliate\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\"><a style=\"color: #0196e3;\" title=\"\u67e5\u770b find \u4e2d\u7684\u5168\u90e8\u6587\u7ae0\" href=\"http:\/\/www.92csz.com\/tag\/find\" target=\"_blank\">find<\/a><\/span>\u547d\u4ee4\u7684\u529f\u80fd\u5341\u5206\u5f3a\u5927\uff0c\u4e0b\u9762\u6211\u4eec\u901a\u8fc7\u51e0\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\u6765\u5b66\u4e60\u4e0bfind\u547d\u4ee4\u7684\u7b80\u5355\u7528\u6cd5\uff1a<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">find \/opt -iname &#8220;*&#8221; &#8211;<span class=\"wp_keywordlink_affiliate\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\"><a style=\"color: #0196e3;\" title=\"\u67e5\u770b atime \u4e2d\u7684\u5168\u90e8\u6587\u7ae0\" href=\"http:\/\/www.92csz.com\/tag\/atime\" target=\"_blank\">atime<\/a><\/span>&nbsp;1 -type f<br \/>\u627e\u51fa \/opt \u4e0b\u4e00\u5929\u524d\u8bbf\u95ee\u8fc7\u7684\u6587\u4ef6<br \/>\u9009\u9879 OPTIONS<br \/>\u6240\u6709\u7684\u9009\u9879\u90fd\u603b\u662f\u8fd4\u56de\u771f\u503c\uff0c\u5b83\u4eec\u603b\u4f1a\u88ab\u6267\u884c\uff0c\u9664\u975e\u653e\u5728\u8868\u8fbe\u5f0f\u4e2d\u6267\u884c\u4e0d\u5230\u7684\u5730\u65b9\u3002\u56e0\u6b64\uff0c\u6e05\u695a\u8d77\u89c1\uff0c\u6700\u597d\u628a\u5b83\u4eec\u653e\u5728\u8868\u8fbe\u5f0f\u7684\u5f00\u5934\u90e8\u5206\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">-daystart<br \/>\u4ece\u5f53\u65e5\u8d77\u59cb\u65f6\u5f00\u59cb\u800c\u4e0d\u662f\u4ece24\u5c0f\u65f6\u4e4b\u524d\uff0c\u8ba1\u7b97\u65f6\u95f4(for -amin, &#8211;<span class=\"wp_keywordlink_affiliate\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\"><a style=\"color: #0196e3;\" title=\"\u67e5\u770b atime \u4e2d\u7684\u5168\u90e8\u6587\u7ae0\" href=\"http:\/\/www.92csz.com\/tag\/atime\" target=\"_blank\">atime<\/a><\/span>, -cmin, &#8211;<span class=\"wp_keywordlink_affiliate\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\"><a style=\"color: #0196e3;\" title=\"\u67e5\u770b ctime \u4e2d\u7684\u5168\u90e8\u6587\u7ae0\" href=\"http:\/\/www.92csz.com\/tag\/ctime\" target=\"_blank\">ctime<\/a><\/span>, -mmin, and &#8211;<span class=\"wp_keywordlink_affiliate\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\"><a style=\"color: #0196e3;\" title=\"\u67e5\u770b mtime \u4e2d\u7684\u5168\u90e8\u6587\u7ae0\" href=\"http:\/\/www.92csz.com\/tag\/mtime\" target=\"_blank\">mtime<\/a><\/span>)\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">-amin n<br \/>\u5bf9\u6587\u4ef6\u7684\u6700\u8fd1\u4e00\u6b21\u8bbf\u95ee\u662f\u5728 n \u5206\u949f\u4e4b\u524d\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">-anewer file<br \/>\u5bf9\u6587\u4ef6\u7684\u6700\u8fd1\u4e00\u6b21\u8bbf\u95ee\u6bd4 file \u4fee\u6539\u65f6\u95f4\u8981\u665a\u3002\u5982\u679c\u547d\u4ee4\u884c\u4e2d -follow \u5728 -anewer \u4e4b\u524d\uff0c(\u4e5f\u53ea\u6709\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b -anewer\u4f1a\u53d7 -follow \u7684\u5f71\u54cd)\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">-atime n<br \/>\u5bf9\u6587\u4ef6\u7684\u6700\u8fd1\u4e00\u6b21\u8bbf\u95ee\u662f\u5728 n*24 \u5c0f\u65f6\u4e4b\u524d\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">-cmin n<br \/>\u5bf9\u6587\u4ef6\u72b6\u6001\u7684\u6700\u8fd1\u4e00\u6b21\u4fee\u6539\u662f\u5728 n \u5206\u949f\u4e4b\u524d\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">-cnewer file<br \/>\u5bf9\u6587\u4ef6\u72b6\u6001\u7684\u6700\u8fd1\u4e00\u6b21\u4fee\u6539\u6bd4 file \u4fee\u6539\u65f6\u95f4\u8981\u665a\u3002\u5982\u679c\u547d\u4ee4\u884c\u4e2d -follow \u5728 -cnewer \u4e4b\u524d\uff0c(\u4e5f\u53ea\u6709\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b-cnewer \u4f1a\u53d7 -follow \u7684\u5f71\u54cd)\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">&#8211;<span class=\"wp_keywordlink_affiliate\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\"><a style=\"color: #0196e3;\" title=\"\u67e5\u770b ctime \u4e2d\u7684\u5168\u90e8\u6587\u7ae0\" href=\"http:\/\/www.92csz.com\/tag\/ctime\" target=\"_blank\">ctime<\/a><\/span>&nbsp;n<br \/>\u5bf9\u6587\u4ef6\u72b6\u6001\u7684\u6700\u8fd1\u4e00\u6b21\u4fee\u6539\u662f\u5728 n*24 \u5c0f\u65f6\u4e4b\u524d\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">-mmin n<br \/>\u5bf9\u6587\u4ef6\u6570\u636e\u7684\u6700\u8fd1\u4e00\u6b21\u4fee\u6539\u662f\u5728 n \u5206\u949f\u4e4b\u524d\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">&#8211;<span class=\"wp_keywordlink_affiliate\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\"><a style=\"color: #0196e3;\" title=\"\u67e5\u770b mtime \u4e2d\u7684\u5168\u90e8\u6587\u7ae0\" href=\"http:\/\/www.92csz.com\/tag\/mtime\" target=\"_blank\">mtime<\/a><\/span>&nbsp;n<br \/>\u5bf9\u6587\u4ef6\u6570\u636e\u7684\u6700\u8fd1\u4e00\u6b21\u4fee\u6539\u662f\u5728 n*24 \u5c0f\u65f6\u4e4b\u524d\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">&#8211;<span class=\"wp_keywordlink_affiliate\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\"><a style=\"color: #0196e3;\" title=\"\u67e5\u770b mtime \u4e2d\u7684\u5168\u90e8\u6587\u7ae0\" href=\"http:\/\/www.92csz.com\/tag\/mtime\" target=\"_blank\">mtime<\/a><\/span>&nbsp;: \u6307\u5b9a\u65f6\u95f4\u66fe\u88ab\u6539\u52a8\u8fc7\u7684\u6587\u4ef6\uff0c\u610f\u601d\u662f\u6587\u4ef6\u5167\u5bb9\u88ab\u66f4\u6539\u8fc7<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">-ctime : \u6307\u5b9a\u65f6\u95f4\u66fe\u88ab\u66f4\u6539\u8fc7\u7684\u6587\u4ef6\uff0c\u610f\u601d\u662f\u6587\u4ef6\u6743\u9650\u88ab\u66f4\u6539\u8fc7<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">-atime : \u6307\u5b9a\u65f6\u95f4\u66fe\u88ab\u5b58\u53d6\u8fc7\u7684\u6587\u4ef6\uff0c\u610f\u601d\u662f\u6587\u4ef6\u88ab\u8bfb\u53d6\u8fc7<br \/><strong><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent; color: #ff00ff;\">1.&nbsp; \u65f6\u95f4\u662f\u4ee5 24 \u5c0f\u65f6\u4e3a\u4e00\u4e2a\u5355\u4f4d\uff0c\u800c\u4e0d\u662f\u4ee5\u5929\u7684<\/span><\/strong><br \/><strong><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent; color: #ff00ff;\">2.&nbsp; 2011\/09\/08 12:00 \u65f6\u95f4\u5f00\u59cb\u627e\u4e00\u5929\u5167\u7684\uff0c\u4f1a\u5217\u51fa 2011\/09\/07 12:00 ~ 2011\/09\/08 12:00 \u65f6\u95f4\u5167\u7684\u6587\u4ef6<\/span><\/strong><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">\u627e\u51fa 3 \u5929&#8221;\u4ee5\u524d&#8221;\u88ab\u6539\u52a8\u8fc7\u7684\u6587\u4ef6 (\u524d\u7b2c\u4e09\u5929\u4ee5\u524d \u2192 2011\/09\/05 12:00 \u4ee5\u524d\u7684\u6587\u4ef6) (&gt; 72 \u5c0f\u65f6)<\/p>\n<div class=\"dp-highlighter\" style=\"margin: 0px auto; padding: 0px; border: 1px solid #e8e8e8; font-size: 12px; background-color: #fcfcfc; font-family: Verdana, Tahoma, 'Lucida Grande', Arial, sans-serif; width: 693px; overflow: auto; line-height: 24px;\">\n<ol class=\"dp-j\" style=\"margin: 0px 0px 1px 32px; padding: 2px; border: 0px; background-color: transparent; color: #2b91af;\">\n<li class=\"alt\" style=\"border-left-width: 1px; border-left-style: solid; border-left-color: #d1d7dc; padding-left: 10px; line-height: 18px;\"><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent; color: black;\"><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\">find&nbsp;\/var\/log\/&nbsp;-mtime&nbsp;+<\/span><span class=\"number\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent; color: #c00000;\">3<\/span><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\">&nbsp;-type&nbsp;f&nbsp;-print&nbsp;&nbsp;<\/span><\/span><\/li>\n<\/ol>\n<\/div>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">\u627e\u51fa 3 \u5929\u5167\u88ab\u6539\u52a8\u8fc7\u7684\u6587\u4ef6 (2011\/09\/05 12:00 ~ 2011\/09\/08 12:00 \u5167\u7684\u6587\u4ef6) (0 ~ 72 \u5c0f\u65f6\u5167)<\/p>\n<div class=\"dp-highlighter\" style=\"margin: 0px auto; padding: 0px; border: 1px solid #e8e8e8; font-size: 12px; background-color: #fcfcfc; font-family: Verdana, Tahoma, 'Lucida Grande', Arial, sans-serif; width: 693px; overflow: auto; line-height: 24px;\">\n<ol class=\"dp-j\" style=\"margin: 0px 0px 1px 32px; padding: 2px; border: 0px; background-color: transparent; color: #2b91af;\">\n<li class=\"alt\" style=\"border-left-width: 1px; border-left-style: solid; border-left-color: #d1d7dc; padding-left: 10px; line-height: 18px;\"><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent; color: black;\"><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\">find&nbsp;\/var\/log\/&nbsp;-mtime&nbsp;&#8211;<\/span><span class=\"number\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent; color: #c00000;\">3<\/span><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\">&nbsp;-type&nbsp;f&nbsp;-print&nbsp;&nbsp;<\/span><\/span><\/li>\n<\/ol>\n<\/div>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">\u627e\u51fa\u524d\u7b2c 3 \u5929\u88ab\u6539\u52a8\u8fc7\u7684\u6587\u4ef6 (2011\/09\/04 12:00 ~ 2011\/09\/05 12:00 \u5167\u7684\u6587\u4ef6) (72 ~ 96 \u5c0f\u65f6)<\/p>\n<div class=\"dp-highlighter\" style=\"margin: 0px auto; padding: 0px; border: 1px solid #e8e8e8; font-size: 12px; background-color: #fcfcfc; font-family: Verdana, Tahoma, 'Lucida Grande', Arial, sans-serif; width: 693px; overflow: auto; line-height: 24px;\">\n<ol class=\"dp-j\" style=\"margin: 0px 0px 1px 32px; padding: 2px; border: 0px; background-color: transparent; color: #2b91af;\">\n<li class=\"alt\" style=\"border-left-width: 1px; border-left-style: solid; border-left-color: #d1d7dc; padding-left: 10px; line-height: 18px;\"><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent; color: black;\"><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\">find&nbsp;\/var\/log\/&nbsp;-mtime&nbsp;<\/span><span class=\"number\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent; color: #c00000;\">3<\/span><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\">&nbsp;-type&nbsp;f&nbsp;-print&nbsp;&nbsp;<\/span><\/span><\/li>\n<\/ol>\n<\/div>\n<p style=\"margin-top: 0px; margin-bottom: 10px; padding: 0px; border: 0px; font-size: 13px; text-indent: 2em; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; line-height: 24px;\">\u627e\u51fa\u7b2c 3 \u5929\u88ab\u6539\u52a8\u8fc7\u7684\u6587\u4ef6 (\u4e5f\u53ef\u4ee5\u8fd9\u6837\u5199)<\/p>\n<div class=\"dp-highlighter\" style=\"margin: 0px auto; padding: 0px; border: 1px solid #e8e8e8; font-size: 12px; background-color: #fcfcfc; font-family: Verdana, Tahoma, 'Lucida Grande', Arial, sans-serif; width: 693px; overflow: auto; line-height: 24px;\">\n<ol class=\"dp-j\" style=\"margin: 0px 0px 1px 32px; padding: 2px; border: 0px; background-color: transparent; color: #2b91af;\">\n<li class=\"alt\" style=\"border-left-width: 1px; border-left-style: solid; border-left-color: #d1d7dc; padding-left: 10px; line-height: 18px;\"><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent; color: black;\"><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\">find&nbsp;\/var\/log\/&nbsp;-mtime&nbsp;+<\/span><span class=\"number\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent; color: #c00000;\">2<\/span><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\">&nbsp;-mtime&nbsp;&#8211;<\/span><span class=\"number\" style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent; color: #c00000;\">4<\/span><span style=\"margin: 0px; padding: 0px; border: 0px; background-color: transparent;\">&nbsp;-type&nbsp;f&nbsp;-print &nbsp;<\/span><\/span><\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>find\u547d\u4ee4 &#8212; \u4e4b\u67e5\u627e\u6307\u5b9a\u65f6\u95f4\u5185\u4fee\u6539\u8fc7\u7684\u6587\u4ef6\u6bd4\u5982\u6211\u4eec\u8981\u67e5\u627elinux\u4e0b\u6307\u5b9a\u65f6\u95f4\u5185\u505a\u8fc7\u6539\u52a8\u7684\u6587\u4ef6\uff0c\u6211\u4eec\u53ef\u4ee5\u7528find\u547d\u4ee4\uff0c\u5176\u5b9efind\u547d\u4ee4\u7684\u529f\u80fd\u5341\u5206\u5f3a\u5927\uff0c\u4e0b\u9762\u6211\u4eec\u901a\u8fc7\u51e0\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\u6765\u5b66\u4e60\u4e0bfind\u547d\u4ee4\u7684\u7b80\u5355\u7528\u6cd5\uff1a find \/opt -iname &#8220;*&#8221; &#8211;atime&nbsp;1 -type f\u627e\u51fa \/opt \u4e0b\u4e00\u5929\u524d\u8bbf\u95ee\u8fc7\u7684\u6587\u4ef6\u9009\u9879 OPTIONS\u6240\u6709\u7684\u9009\u9879\u90fd\u603b\u662f\u8fd4\u56de\u771f\u503c\uff0c\u5b83\u4eec\u603b\u4f1a\u88ab\u6267\u884c\uff0c\u9664\u975e\u653e\u5728\u8868\u8fbe\u5f0f\u4e2d\u6267\u884c\u4e0d\u5230\u7684\u5730\u65b9\u3002\u56e0\u6b64\uff0c\u6e05\u695a\u8d77\u89c1\uff0c\u6700\u597d\u628a\u5b83\u4eec\u653e\u5728\u8868\u8fbe\u5f0f\u7684\u5f00\u5934\u90e8\u5206\u3002 -daystart\u4ece\u5f53\u65e5\u8d77\u59cb\u65f6\u5f00\u59cb\u800c\u4e0d\u662f\u4ece24\u5c0f\u65f6\u4e4b\u524d\uff0c\u8ba1\u7b97\u65f6\u95f4(for -amin, &#8211;atime, -cmin, &#8211;ctime, -mmin, and &#8211;mtime)\u3002 -amin n\u5bf9\u6587\u4ef6\u7684\u6700\u8fd1\u4e00\u6b21\u8bbf\u95ee\u662f\u5728 n \u5206\u949f\u4e4b\u524d\u3002 -anewer file\u5bf9\u6587\u4ef6\u7684\u6700\u8fd1\u4e00\u6b21\u8bbf\u95ee\u6bd4 file \u4fee\u6539\u65f6\u95f4\u8981\u665a\u3002\u5982\u679c\u547d\u4ee4\u884c\u4e2d -follow \u5728 -anewer \u4e4b\u524d\uff0c(\u4e5f\u53ea\u6709\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b -anewer\u4f1a\u53d7 -follow \u7684\u5f71\u54cd)\u3002 -atime n\u5bf9\u6587\u4ef6\u7684\u6700\u8fd1\u4e00\u6b21\u8bbf\u95ee\u662f\u5728 n*24 \u5c0f\u65f6\u4e4b\u524d\u3002 -cmin n\u5bf9\u6587\u4ef6\u72b6\u6001\u7684\u6700\u8fd1\u4e00\u6b21\u4fee\u6539\u662f\u5728 n \u5206\u949f\u4e4b\u524d\u3002 -cnewer file\u5bf9\u6587\u4ef6\u72b6\u6001\u7684\u6700\u8fd1\u4e00\u6b21\u4fee\u6539\u6bd4 file \u4fee\u6539\u65f6\u95f4\u8981\u665a\u3002\u5982\u679c\u547d\u4ee4\u884c\u4e2d -follow \u5728 -cnewer \u4e4b\u524d\uff0c(\u4e5f\u53ea\u6709\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b-cnewer \u4f1a\u53d7 -follow \u7684\u5f71\u54cd)\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-433","post","type-post","status-publish","format-standard","hentry","category-centos-6"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=433"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/433\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}