linux command - 在所有递归子文件夹中的py文件中,搜索包含指定字符串的文件

find . -type f -iname "*.py" -exec grep -Hi "LAD" '{}' +

posted @ 2020-02-27 21:34  imoon22  阅读(274)  评论(0编辑  收藏  举报