How to count words occurences in different files?
Hello Amigos!Hope to get som tips and tricks how to count occurences of a word in different files?
Suppose we got an folder like:
log/
server.log
server.log.1
I then would like to count all occurences of word ERROR in these files.
Is it possible to combine grep and wc in some way?
Best regards
Fredrik
