How to search a word in all files in linux
This is very easy and can be done by using grep command .
> grep -R “word to search” * > log.txt
Well only grep -R “word to search” is enough .It will display the result in terminal. If you are using > sign , then it will be written in that log file.