Finding a File Containing a Particular Text String In Linux Server
Posted by bput4all on June 5, 2013 · Leave a Comment
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 →
Filed under linux, operating system · Tagged with egrep string search, grep recursive string search, grep string search, string searching in linux