Wednesday, September 14, 2016

Find all files containing given string in unix

$ grep -r  "string to search"  /directoryPath

It will list all the files which contains given search string under the directory 

No comments:

Post a Comment