linuxlocatefind
locatelocatelocateupdatedb/var/lib/mlocate/mlocate。db
#
(root@cnode6_8 等等)#,locate - r \ & lt;功能”美元,-n 3/etc/rc.d/init.d/functions/etc/sysconfig/network-scripts/网络功能/lib/lsb/init-functions
:
12 k11k12k1 + 6 k7k6k
05 k5k6k
/varrootmail
[root@centos7 ~] #, find /var/, -user root-group mail - ls 201334650,,,0,drwxrwxr-x ,, 2, root ,,,, mail ,, 50, Aug 13, 12:54/var/spool/邮件 205749525,,,0,- - - - - - -女人,,,1,root ,,,, mail ,, 0, Aug 13, 12:54 /var/spool/邮件/根
/varrootlpgdm
[root@centos7 ~] #, find /var/,,,, -not \ (, -user root  -o -user lp -o -user gdm \)
/varrootpostfix
[root@centos7 ~] #, find /var/, -mtime 7,——\ (-user 才能;root  -o -user postfix , \)
[root@centos7 ~] #, find /, -nouser -nogroup-atime 7
/etc1M
[root@centos7 ~] #, find /etc/, -size + 1 m-type - f 发现:Arguments 用-type should containonly one 信 (root@centos7 ~) #, find /etc/, -size + 1 m-type f/etc/selinux/targeted/policy/policy.29/etc/udev/hwdb.bin/etc/brltty/zh-tw.施
/etc
[root@centos7 ~] #, find /etc/, -not 烫/222,- ls
/etc
[root@centos7 ~] #, find /etc/, -perm -111年,- ls
/etc/init。d
[root@centos7 ~] # find /path -type f -exec chmod 644年,{},\;,,,,#对目录和子目录里的文件
[root@centos7 ~] # find /path -type d -exec chmod 755年,{},\;,,#对目录和子目录path ,是路径,,type 类型,d 是目录,,f是,文件,,,exec ,执
(p, Q)=(p) (Q)
(p, Q)=(p) (Q)