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

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

瀏覽:1115
日期:2024-09-12
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....看更多