Created
June 23, 2014 11:45
-
-
Save laszlomiklosik/3c97cb609e4528e9eda3 to your computer and use it in GitHub Desktop.
Search file by contained text (Linux command)
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 XML files from current directory (including its subdirectories recursively) by content 'sonar' | |
find . -name '*.xml' -print0 | xargs -0 grep 'sonar' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment