1 2 3 4
#!/bin/sh grep "Failed password for invalid user " /var/log/auth.log | \ awk '{print $13}' | sort | uniq -c | sort -n