Finding a File Containing a Particular Text String In Linux Server

grep command syntax The syntax is: grep “text string to search” directory-path OR grep [option] “text string to search” directory-path OR grep -r “text string to search” directory-path OR grep -r -H “text string to search” directory-path OR egrep -R “word-1|word-2” directory-path OR egrep -w -R “word-1|word-2” directory-path Examples In this example, search for a … Continue reading