Saturday, August 17, 2013

Grep : recursively search for the occurrence of a word in files.

Lets assume we are trying to search word "this" in all the files in the present directory. Would it be nice if I could see which all files it occurs in along with the line number. Passing some options to grep commands helps to do the exact same task.


No comments:

Post a Comment