Skip to content

Instantly share code, notes, and snippets.

@brianmriley
Last active April 27, 2016 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianmriley/c8b5410b505679f121da4de53ed39522 to your computer and use it in GitHub Desktop.
Save brianmriley/c8b5410b505679f121da4de53ed39522 to your computer and use it in GitHub Desktop.
Grepping logs and outputting to a new file.
// grep {searchString} {targetFile} > {outputFile}
grep "loadChunk(" mysxm.log > mysxm-load-chunk.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment