Know Shell Script
Thursday, May 23, 2013
find string in file using find command
Here is the syntax to find a word in a file.
find . -type f -exec grep -l "word" {} +
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment