shell script for loop example的相關文章
Unix - Shell Loop Control (Infinite, Break and Continue) - Tutorialspoint

Unix - Shell Loop Control (Infinite, Break and Continue) - Tutorialspoint

瀏覽:593
日期:2026-04-20
Here is a simple example that uses the while loop to display the numbers zero to nine: #!/bin/sh a=10 while [ $a -ge 10 ] do echo $a a=`expr $a + 1` done....看更多