My Collection Source Code
Showing posts with label
Find files that contain a string
.
Show all posts
Showing posts with label
Find files that contain a string
.
Show all posts
Wednesday, May 16, 2012
UNIX : Find files that contain a string
Ref for me..
find . -exec grep -l "string to find" {} \;
change the "string to find" to find your string. Please include (")
also can do this..
find . -type f | xargs grep "String to find"
Older Posts
Home
Subscribe to:
Posts (Atom)