|  | Shell scripting in depth: Understanding return codes, the test ...2012年11月4日 -  This posting is all about return codes, the test command, and the if statement. ... The if [ "$var" == "value" ]; then ... is equivalent to if test "$var" ... www.ibm.com |  |