Last active
October 21, 2024 21:42
-
-
Save Razuuu/e96fec3ac12627bb9956dd4dec354475 to your computer and use it in GitHub Desktop.
search for a string inside a folder
This file contains 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 . -type f -exec grep -H 'example string' {} \; | |
#or | |
grep -Rnw '.' -e 'example string' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment