摘要: 例1:#!/bin/bashsum=0;for i in {1..100..2}dolet "sum+=i"doneecho "the sum is $sum"例2:不知道循环次数,批量解压缩#!/bin/bashcd /rootls *.sh > ls.logy=1for i in $(cat l... 阅读全文
posted @ 2014-09-06 17:56 kin2321 阅读(343) 评论(0) 推荐(0) 编辑