递归查找当前目录下是否有以.x结尾的文集那 find ./ -regex '.*\.x' 注意要用单引号和转义字符 转载于:https://www.cnblogs.com/tzhangofseu/archive/2011/11/13/2247383.html