# Most common words in a text file
tr -c '[:alnum:]' '\n' < article.txt | \
tr '[:upper:]' '[:lower:]' | \
grep -v '^$' | \
sort | uniq -c | sort -rn | head -20
# Most common HTTP status codes in an access log
awk '{print $9}' access.log | sort | uniq -c | sort -rn
# Most common IPs hitting a 500
awk '$9 == 500 {print $1}' access.log | sort | uniq -c | sort -rn | head
Create a free account and build your private vault. Share publicly whenever you want.