Created
October 31, 2018 23:53
-
-
Save facelordgists/708504cc43b755f9768fc346023b2ce1 to your computer and use it in GitHub Desktop.
How to recursively search folders for a string using grep and ack
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
grep -r "string" . | |
# apparently capital R follows symlinks | |
grep -R "string" . | |
## Or use ACK | |
ack "string" folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment