在shell script 中if 條件式的基本語法如下if [ CONDITION ] then ...... else ...... fi if test CO. ... 另外在if 條件式中可以利用下面的判斷 ... Exit status of previous command.
rickyju.pixnet.net