这篇文章主要介绍了find -newer命令怎么用,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。
[biprd1]root#touch 12091200 newer.file
[biprd1]root#ls -l
total 6384
drwxr-xr-x 2 oracle oinstall 256 Dec 07 2011 .InstallAnywhere
-rw------- 1 oracle oinstall 225 Nov 30 2011 .TTauthority
-rw------- 1 oracle oinstall 147 Nov 30 2011 .Xauthority
-rw-r--r-- 1 oracle oinstall 175 Dec 07 2011 .com.zerog.registry.xml
drwxr-xr-x 10 oracle oinstall 4096 Nov 30 2011 .dt
-rwxr-xr-x 1 oracle oinstall 3983 Nov 25 2011 .dtprofile
drwxrwx--- 3 oracle oinstall 256 Nov 24 2011 .java
-rwxr----- 1 oracle oinstall 1222 May 06 2016 .profile
-rw------- 1 oracle oinstall 7880 Dec 10 14:05 .sh_history
drwx------ 2 oracle oinstall 256 Nov 21 2014 .ssh
drwx------ 2 oracle oinstall 256 Apr 18 2016 .topasrecrc
-rw------- 1 oracle oinstall 4 Mar 15 2013 .vi_history
-rw-r--r-- 1 oracle oinstall 1025 Aug 01 2018 initBI.ora
-rw-r--r-- 1 oracle oinstall 17764 Mar 17 2016 insert_back.log
-rw------- 1 oracle oinstall 13893 May 16 2013 mbox
-rw-r--r-- 1 oracle oinstall 533 Aug 02 2012 mesg.log
-rw-r--r-- 1 root system 0 Dec 09 12:00 newer.file
-rw-r--r-- 1 oracle oinstall 2641 Sep 05 09:16 ts.sql
[biprd1]root#find /var -xdev -newer newer.file -ls
53 126874 -rw-rw-r-- 1 bin bin 129918404 Dec 10 15:45 /var/adm/cron/log
124 281 -rw------- 1 root system 287485 Dec 10 14:05 /var/adm/sulog
149 791211 -rw-rw-r-- 1 adm adm 810199584 Dec 10 14:05 /var/adm/wtmp
238 22137 -rw-r--r-- 1 root system 22667438 Dec 10 15:43 /var/ct/4142436684/log/mc/IBM.MgmtDomainRM/default
4512 8 drwxr-xr-x 2 root system 8192 Dec 10 00:02 /var/ha/log
4413 4 -rw-r--r-- 1 root system 3845 Dec 10 00:02 /var/ha/log/topsvcs.default
4549 4 -rw-r--r-- 1 root system 3845 Dec 10 00:02 /var/ha/log/topsvcs.default.1
4432 4 drwxr-x--- 2 root system 4096 Dec 10 00:02 /var/ha/run/topsvcs.biprd_cluster
4778 75486 -rw-r--r-- 1 root system 77296761 Dec 10 15:05 /var/hacmp/adm/cluster.log
4781 0 -rw-r--r-- 1 root system 0 Dec 10 14:11 /var/hacmp/adm/cluster.log.7
4780 0 -rw-r--r-- 1 root system 0 Dec 10 14:11 /var/hacmp/adm/cluster.log.8
4779 0 -rw-r--r-- 1 root system 0 Dec 10 14:11 /var/hacmp/adm/cluster.log.9
4459 4 drwx------ 2 root system 4096 Dec 10 10:53 /var/hacmp/clcomd
4463 148 -rw------- 1 root system 151286 Dec 10 15:44 /var/hacmp/clcomd/clcomd.log
4481 977 -rw------- 1 root system 1000033 Dec 10 06:53 /var/hacmp/clcomd/clcomd.log.0
4617 5986 -rw------- 1 root system 6128949 Dec 10 15:44 /var/hacmp/clcomd/clcomddiag.log
4477 9766 -rw------- 1 root system 10000039 Dec 10 10:53 /var/hacmp/clcomd/clcomddiag.log.0
4467 9766 -rw------- 1 root system 10000090 Dec 10 02:51 /var/hacmp/clcomd/clcomddiag.log.1
4468 9766 -rw------- 1 root system 10000012 Dec 10 00:00 /var/hacmp/clcomd/clcomddiag.log.2
4469 9766 -rw------- 1 root system 10000101 Dec 9 16:01 /var/hacmp/clcomd/clcomddiag.log.3
8192 4 drwxr-xr-x 7 root system 4096 Dec 10 00:02 /var/hacmp/clverify
8252 3045 -rw-r--r-- 1 root system 3117511 Dec 10 00:02 /var/hacmp/clverify/clver_debug.log
8206 810 -rw-r--r-- 1 root system 829422 Dec 10 00:02 /var/hacmp/clverify/clver_parser.log.30343408
8253 682 -rw-r--r-- 1 root system 697603 Dec 10 00:01 /var/hacmp/clverify/clver_request.xml
8201 109 -rw------- 1 root system 111539 Dec 10 00:02 /var/hacmp/clverify/clverify.log
8221 2 -rw------- 1 root system 1147 Dec 10 00:02 /var/hacmp/clverify/clverify_daemon.log
8222 682 -rw-r--r-- 1 root system 697603 Dec 10 00:01 /var/hacmp/clverify/clverify_last_request.xml
401408 1 drwx------ 4 root system 256 Dec 10 00:01 /var/hacmp/clverify/pass
401409 4 drwx------ 2 root system 4096 Dec 10 00:01 /var/hacmp/clverify/pass/biprd1
401596 0 -rw-r--r-- 1 root system 0 Dec 10 00:01 /var/hacmp/clverify/pass/biprd1/.klogin
401507 12 -rw-r--r-- 1 root system 12288 Dec 10 00:01 /var/hacmp/clverify/pass/biprd1/CuAt
感谢你能够认真阅读完这篇文章,希望小编分享的“find -newer命令怎么用”这篇文章对大家有帮助,同时也希望大家多多支持亿速云,关注亿速云行业资讯频道,更多相关知识等着你来学习!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。