Bash shell script – while 迴圈 ... root@ubuntu:~# vi while1.sh. #!/bin/bash. i=1. while [ $i != 5 ] ... 變數i 設定為1 ,需在while 前宣告.
確定! 回上一頁