1、查找10 天内修改过的文件 find -ctime -10
2、查找路径下带某个文件夹或者文件名的文件
find -name “*.c”|grep -s gt9xx
3、查找某种文件类型文件里面包含某种字符的文件
find -name “*.c”|xargs grep -s GTP
不错吧,不断积累,才能提高。
1、查找10 天内修改过的文件 find -ctime -10
2、查找路径下带某个文件夹或者文件名的文件
find -name “*.c”|grep -s gt9xx
3、查找某种文件类型文件里面包含某种字符的文件
find -name “*.c”|xargs grep -s GTP
不错吧,不断积累,才能提高。