52

for循环、while循环、break循环、continue结束本次循环、exit退出整个脚本-Gary博客-5...

 6 years ago
source link: http://blog.51cto.com/taoxie/2069945
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
for循环for循环案例1#打印1到100[root@garytao-01shell]#vifor1.sh[root@garytao-01shell]#catfor1.sh#!/bin/bashforiin`seq1100`doecho$idone[root@garytao-01shell]#shfor1.sh1234567891011...#打印数字叠加的值[root@garytao-01she

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK