Skip to content

Instantly share code, notes, and snippets.

@eckelon
Created December 18, 2017 12:02
Show Gist options
  • Save eckelon/502e6e96da412b4c94d4418aff74a6eb to your computer and use it in GitHub Desktop.
Save eckelon/502e6e96da412b4c94d4418aff74a6eb to your computer and use it in GitHub Desktop.
pipe grep search to find result
find ~ -type f -name '*.log' -exec grep 'text' -l {} \; > output.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment