摘要:
#!/bin/bash failed=`cat /var/log/secure|grep "Failed"|awk '{print $11}'|sort|uniq -c|awk '$1>10 {print $2}'` echo "sshd: $ip">>/etc/hosts.deny 阅读全文
posted @ 2021-02-20 13:00
星火撩原
阅读(69)
评论(0)
推荐(0)
摘要:
#!/bin/bash seconds_left=10 echo "请等待倒计时结束后自动关机..." while [ $seconds_left -gt 0 ] do echo -n $seconds_left sleep 1 seconds_left=$(($seconds_left - 1)) 阅读全文
posted @ 2021-02-20 12:49
星火撩原
阅读(154)
评论(0)
推荐(0)

浙公网安备 33010602011771号