Linux find命令

1.find默认查找当前目录和子目录,通过maxdepth限制只查当前目录:

find . -maxdepth 1 -type f -name "*.php"
posted @ 2019-05-23 18:05  云刄  阅读(516)  评论(0编辑  收藏  举报