On linux, you do it ever happen to want to find a string in a file, ie a variety of files?
Well believe me, if one day you should check an email address, an IP address, a piece of code, or otherwise, in thousands of files, this command will save a lot of work manual.

Change to the directory where you want to search a string. And type the following command:

Code:
find. -name "*"-exec grep-Hn "abc" () \;
abc by replacing what you want.

For example, if you are looking for an IP address in your log files at once, you will (do not type what is after the #):
Code:
monlinux / # cd / var / log 
monlinux log # find. -name "*"-exec grep-Hn "192.168.0.1" () \;