shell脚本中的循环
摘要:
常用到的循环有for循环和while循环。 [root@localhost sbin]# cat for.sh #! /bin/bash for i in `seq 1 5`; do echo $i done [root@localhost sbin]# cat for.sh #! /bin/bas 阅读全文
posted @ 2017-09-03 19:33 学习linux的菜鸟 阅读(2104) 评论(0) 推荐(0) 编辑