Last active
June 19, 2019 10:22
-
-
Save daniDLL/da820ed0cdc67ff7339e2c87a530f9c8 to your computer and use it in GitHub Desktop.
grep GOD
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
Búsqueda en distintos ficheros | |
============================== | |
find . -name <patternFile> -print0 | xargs -0 grep -n -H <patternSearch> | |
grep -rnw '/path/to/somewhere/' -e "pattern" | |
Búsqueda en un string muy largo. | |
================================ | |
grep -oE '.{20}<patternToSearch>.{20}' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment