Last active
August 29, 2015 13:57
-
-
Save kimwalisch/9483710 to your computer and use it in GitHub Desktop.
Find all files that contain a user specified keyword (UNix)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Find all files KEYWORD | |
| $ fgrep -R --files-with-matches KEYWORD . | |
| # Find all files with FILENAME and KEYWORD | |
| $ find . -name FILENAME -exec fgrep --files-with-matches KEYWORD {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment