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

How to conditionally do something if a command ... - Unix & Linux

2011年10月16日 - But if you want to test whether a command succeeded or not, use ... then echo success else echo failed fi if [ $RESULT == 0 ]; then echo success 2 else echo failed 2 fi ...

unix.stackexchange.com

網址安全性掃描由 google 提供