linux環境查找某文件夾下含有某字符串的所有文件

find -type f -name '*.js'|xargs grep 'translate'

如上代碼

posted on 2016-04-12 20:01  braveliu  阅读(216)  评论(0编辑  收藏  举报

qzone: welcome to my qzone github:welcome to my github mail:contact me with gmail