Skip to content

Instantly share code, notes, and snippets.

@petitchevalroux
Created February 14, 2017 14:57
Show Gist options
  • Select an option

  • Save petitchevalroux/92b0f4376fbda5e81a9b499df40051fc to your computer and use it in GitHub Desktop.

Select an option

Save petitchevalroux/92b0f4376fbda5e81a9b499df40051fc to your computer and use it in GitHub Desktop.

Revisions

  1. petitchevalroux created this gist Feb 14, 2017.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    find . -name "*.log" -type f -exec egrep "event" {} \; | egrep -o "^[a-Z]+\s+[0-9]+" | sort | uniq -c | sort -n -k1 | tac