linux 搜索一个字符串再哪个文件中

Finding all files containing a text string in linux

http://stackoverflow.com/questions/16956810/finding-all-files-containing-a-text-string-in-linux

find / -type f -exec grep -H 'text-to-find-here' {} \;

猜你喜欢

转载自ppjava.iteye.com/blog/1986744