linux find grep組合使用

1. 查找全部".h"文件shell find /PATH -name "*.h"svn 2. 查找全部".h"文件中的含有"helloworld"字符串的文件ui find /PATH -name "*.h" -exec grep -in "helloworld" {} \;spa find /PATH -name "*.h" | xargs grep -in "helloworld"code
相關文章
相關標籤/搜索