Showing posts with label File contains string. Show all posts
Showing posts with label File contains string. Show all posts

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