1.查找目录下共有多少个html文件 find ./ -name '*.html'|wc -l 2.查找目录下所有的html共有多少行 find ./ -name '*.html'|xargs wc -l