Created
October 17, 2016 14:07
-
-
Save arodbits/9be2d4970745e0073ea7f35b76c2c021 to your computer and use it in GitHub Desktop.
Search for pattern in all the files from a given directory
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 -rnw '/path/to/somewhere' -e "pattern" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment