Skip to content

Instantly share code, notes, and snippets.

@clojj
Created April 20, 2015 15:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clojj/216a7d274878420ac053 to your computer and use it in GitHub Desktop.
Save clojj/216a7d274878420ac053 to your computer and use it in GitHub Desktop.
parallel grep recursively for STRING-content (requires GNU parallel package)... replace STRING with what you are looking for !
find . -type f | parallel -k -j150% -n 1000 -m grep -i -H -n 'STRING' {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment