while read a
do
cat >>pr_include.conf<
server
{
listen 80;
server_name $a ;
rewrite ^/(.*)$ \$1 permanent;
}
EOF
done
while read a; do useradd $a ; done < user
for((aa=0;aa<=100;aa++));do mkdir -p $(date -d +${aa}day +%Y/%m/%d);done [root@master ~]# cat ./for.sh
#!/bin/bash
for ((num=1; num<=50; num++))
do
if ((num <10 )); then
st="st0$num"
else
st="st$num"
fi
userdel $st
passwd -d $st
done
阅读(710) | 评论(1) | 转发(0) |