Created
February 4, 2014 20:45
-
-
Save mittenchops/8811975 to your computer and use it in GitHub Desktop.
Count unique urls where url is the first field in a json, get the top 10 repeats
This file contains hidden or 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 file.json | awk '{print $2}' | sort | uniq -c | sort -rn | head |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment