shell编程---for循环

                            for循环

  1 #! /bin/bash
  2 #for looping structure
  3 for i in 1.txt 2.txt
  4 do
  5         echo $i
  6 done
  7 
  8 
  9 for i in *.sh
 10 do
 11         echo $i
 12 done