//递归查找当前文件下后缀为.txt的文件
find ./ -iname ‘*.txt‘
//查找当前文件下后缀为txt的文件(不递归)
find ./ -maxdepth 1 -iname "*.txt"
本文出自 “whatever957” 博客,请务必保留此出处http://whatever957.blog.51cto.com/6835003/1771997
find命令简单用法
原文:http://whatever957.blog.51cto.com/6835003/1771997