Search the exact string in given location

February 16, 2011 at 01:31:27
Specs: Windows XP
Hi ,

I am trying to create shell script(.sh) file that would search all the files in Directory and its subdirectories and report which file contain exact string.

See More: Search the exact string in given location

Report •

February 16, 2011 at 01:37:15
grep -r <search string> *

(You are using some form of UNIX, as the .sh extension implies?)

Report •

February 17, 2011 at 02:40:01
Hi ,
I have Multiple strings placed in input file and that needs to be serached in various files on unix. I want to create a script which does this task and provide me with output file conatining list of the files having the input strings.

Report •
Related Solutions

Ask Question