Assuming you have two log-files in:
- C:/temp/my.log
- C:/temp/alsoMy.log
cd to C: and use:
grep -r somethingtosearch temp/*.log
It will give you a list like:
temp/my.log:somethingtosearch
temp/alsoMy.log:somethingtosearch1
temp/alsoMy.log:somethingtosearch2
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…