标签:int load lin list for ash tmp inux class
for ((i=1;i<=10;i++)); do list_num = $(sed -n $i‘p‘ /tmp/ip.txt |awk ‘{print $1}‘) list_ip = $(sed -n $i‘p‘ /tmp/ip.txt |awk ‘{print $2}‘) if [ $list_num -gt 1000 ];then echo deny $list_ip‘;‘ >> /test/nginx_deny_ip.conf fi done
nginx -s reload
标签:int load lin list for ash tmp inux class
原文地址:https://www.cnblogs.com/kuku0223/p/12276034.html