How to find strings in files in Linux

Today I needed to search for a specific string in all files inside a SOAP UI project, you just need to execute the following command:

grep -rnw "getList" /home/SOAPUI_Proj/

Please notice that the text in italics means that the value is variable.

Sources

  • http://www.cyberciti.biz/faq/howto-search-find-file-for-text-string/
  • http://stackoverflow.com/questions/16956810/finding-all-files-containing-a-text-string-on-linux

Leave a Comment

Your email address will not be published. Required fields are marked *