Questions? Contact Us

 

How to search files for specific content

Simple linux command to search all files in a given path and display the line in the file which matches defined content.find <PATH> -print | xargs grep "<CONTENT>"orfind <PATH> -type f -exec grep -H "<CONTENT>" \;
Tags:
Continue reading
1296 Hits
0 Comments