CentOS下递归遍历文件夹下所有文件,查找指定字符

命令如下:

find . | xargs grep -ri "XXX"

猜你喜欢

转载自www.cnblogs.com/flying607/p/9394116.html