Be Alpha
Thursday, January 3, 2019
How to find files that contains a word in Linux
Run this on the directory you want to search in. In this example we are looking for files that contain the word artesyn.
find . -type f -exec grep "artesyn" '{}' \; -print
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment