17. 文件查找
一、查找 issue 文件的存放位置
[root@Demon proc]# find / -name issue
/etc/issue
二、查找最近两天修改的文件
[root@Demon proc]# find / -mtime -2
/proc/16073/net/stat/rt_cache
/proc/16073/net/stat/arp_cache
/proc/16073/environ
/proc/16073/auxv
/proc/16073/status
/proc/16073/personality
/proc/16073/limits
/proc/16073/sched
/proc/16073/autogroup
/proc/16073/comm
/proc/16073/syscall
/proc/16073/cmdline
/proc/16073/stat
/proc/16073/statm
/proc/16073/maps
/proc/16073/numa_maps
/proc/16073/mem
......
三、查找大小大于 100M的文件
[root@Demon proc]# find / -size +100M
/sys/devices/pci0000:00/0000:00:0f.0/resource1
/sys/devices/pci0000:00/0000:00:0f.0/resource1_wc