文件如下:/doc/in.txt 1.txt 例子:1、 find -maxdepth 1 匹配第一层文件或者目录(不会匹配到in.txt文件) 2、 find -maxdepth 2 匹配第二层文件或者目录(会匹配到in.txt文件)