先用locate查找吧,这个直接通过数据库索引,很快的
locate a.log
locate b.dmp
find因为是全盘查找的,所以耗时有点久:
find / -name 'a.log'
find / -name 'b.dmp'
两天以内修改的文件:
find / -mtime -2
locate a.log
locate b.dmp
find因为是全盘查找的,所以耗时有点久:
find / -name 'a.log'
find / -name 'b.dmp'
两天以内修改的文件:
find / -mtime -2