經安全檢測,此網站為安全網站,請放心前往原始網址!

What does if [ $? -eq 0 ] mean for shell scripts? - Stack Overflow

It's checking the return value ($?) of grep. In this case it's comparing it to 0 (success). Usually when you see something like this (checking the return value of grep) it's checking to see whether the particular string was detected. Although the redirect

stackoverflow.com

網址安全性掃描由 google 提供