Linux find 批量查找文件内容

| |
[不指定 2014/05/30 19:35 | by 刘新修 ]

find ./ -name "*.php" | xargs grep "js.bjlcp.com"

find ./ -name "*.*" | xargs grep "js.bjlcp.com"
 
find ./ -name "*.*" | xargs grep "ob_get_contents"
find ./ -name "*.*" | xargs grep "电影"
find ./ -name "*.*" | xargs grep "bjlcp"
 
Linux/Unix | 评论(0) | 引用(0) | 阅读(6046)