使用find可以查询目录下的文件.注意: 如果不想包含本身目录的话就得使用-mindepth 1(本身目录的深度是0)-type 是代表的文件类型 d则是代表文件夹.find . -mindepth 1 -type d