windows 刷了一早上失败了

准备用阿里云服务器搞起
Google Voice 美国电话号码申请教程 2017 年版
在这篇文档里有一段脚本, 是不是窗口下的 liunx 才可以用? 下面没有用户登录的 没有视窗的 liunx 如何用户脚本刷?
是不是阿里云也要翻墙才行的?
contains() {
string="$1"
substring="$2"
if test "${string#*$substring}" != "$string"
then
return 0 # $substring is in $string
else
return 1 # $substring is not in $string
fi
}
while true; do
result=$(curl -s 'https://www.google.com/voice/b/0/service/post' -H 'origin: https://www.google.com' ... --compressed)
contains "$result" "error" || exit 0
sleep 1.5
done