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
posted @ 2017-09-03 19:33
posted @ 2017-09-03 09:31
posted @ 2017-09-02 19:46