Example: #!/bin/bash i=1 while [ $i -le 5 ] do echo "$i"; i=$(($i+1)); done. Shell Script code in vi editor. WhileBasics1.
確定! 回上一頁