if [ condition ] then -- Block of Commands -- fi. Example: #!/bin/bash echo "Enter an Even Number :" read n i=$(expr $n % 2) if [ $i -ne 0 ] ...
確定! 回上一頁