for
#!/bin/bash set i=0 set j=0 for((i=0;i<10;)) do let "j=j+1" echo "-------------j is $j -------------------" done
while
#!/bin/bash set j=2 while(true) do let "j=j+1" echo "----------j is $j--------------" done
for
#!/bin/bash set i=0 set j=0 for((i=0;i<10;)) do let "j=j+1" echo "-------------j is $j -------------------" done
while
#!/bin/bash set j=2 while(true) do let "j=j+1" echo "----------j is $j--------------" done
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。