cd /var/log && cat auth.log | grep "Failed password" | awk '{print $(NF-3)}' | uniq | sort | uniq -c | awk '{print "ufw deny from " $2}' | sh 命令, auth, cat