bash-逻辑控制

 若[ -e test ] || echo exist 为true 则执行&&,若[ -e test ]为false 则执行||

 

 for循环

0-9

for循环遍历

 while循环

0-9

 循环读取文件中每一行

 

退出控制 break continue exit

猜你喜欢

转载自www.cnblogs.com/cc1994/p/12017395.html
今日推荐