Skip to content

Instantly share code, notes, and snippets.

@brianmriley
Last active April 27, 2016 11:38
Show Gist options
  • 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