Tag Archives: text

unix: find text within file

To find a text within multiple files using unix shell, run following command: grep “string” `find / -type f` Do not forget backquotes Replace “string” with the string you are looking for Replace ‘/’ inside find syntax with the folder you want to look into (usually ‘.’ for current directory) sources http://www.unix.com/unix-dummies-questions-answers/8666-finding-text-inside-file.html