Created
October 5, 2018 13:37
-
-
Save IcaroBichir/b85292f6bd230368fbae48858e66fe13 to your computer and use it in GitHub Desktop.
parse logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat $filename | awk '{print $1}' | sort | uniq -c | awk '{ print $2 " " $1 }' > records_$filename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment