Linux – Using grep to find filename and line number of string occurance
This little piece of code allows you to search the current path for a certain string and return the name of the file and the line number.
[bash]
find . -exec grep -Hn Keyword {} \;
[/bash]