I am trying to find some keywords in my /var/log directory, so using
cd /var/log cat * | grep keyword
I find the string is in that directory and see the lines it exists on, but don't know which file it came from. How can I locate the string, and see the file it cat from?