本站支持「有偿」远程协助!

一些脚本

一些脚本.

批量文件夹

#!/bin/bash
for i in {1..100}; do
	mkdir $i
done

批量 BDUSS

#!/bin/bash
vps_txt="bduss.txt"
vps_num=$(awk 'END{print NR}' $vps_txt)
vps_num=20
ssh_ip=($(
     i="1"
     while [ $i -le $vps_num ]; do
          awk 'NR=='$i'{print $1}' $vps_txt
          i=$(($i + 1))
     done
))

i="1"
while [ $i -le $vps_num ]; do
    awk 'NR=='$i'{print $1}' $vps_txt | awk -F'----' '{print $5}' | awk -F';' '{print $3}' | awk -F'=' '{print $2}' >> bduss.txt
    i=$(($i + 1))
done
#!/bin/bash
vps_txt="bduss.txt"
vps_num=$(awk 'END{print NR}' $vps_txt)
vps_num=20
ssh_ip=($(
     i="1"
     while [ $i -le $vps_num ]; do
          awk 'NR=='$i'{print $1}' $vps_txt
          i=$(($i + 1))
     done
))

# echo ${ssh_ip[*]}
i="1"
while [ $i -le $vps_num ]; do
cat <<EOF >> jy11.txt
Cookies.set('BDUSS','${ssh_ip[i]}');
EOF
i=$(($i + 1));
done
Loading ...
无广告!