linux find 命令
1、查找文件
[root@iZ2zebgihunm8knispvdg6Z logs]# find / -type f -name my.cnf
/var/lib/docker/overlay2/95d39d490cfe45634b5940c8254c3cfd695b3906c3091f56a2df09af752cabe9/diff/var/lib/dpkg/alternatives/my.cnf
/opt/zbox/etc/mysql/my.cnf
2、查找目录
[root@iZ2zebgihunm8knispvdg6Z logs]# find / -type d -name software
/sys/devices/software
/usr/local/software