Text Size
Sunday, February 01, 2015

IOS and LAMP Web Developer Blog by Mike Zriel

Linux

Linux

Last Updated on Wednesday, 28 January 2015 11:54

linux how to search text in files in current directory

BY: Mike Zriel

How to search for text in files in current directory.

find . -type f -exec grep -H "text to search" {} \;

find . -type f -exec grep -H "search this text" {} \;

 
Copyright © 2015 by Mike Zriel - Zriel.com