摘要:
http://www.kuaiwenba.com/article/32.html关于shell中的for循环用法很多,一直想总结一下,今天网上看到上一篇关于for循环用法的总结,感觉很全面,所以就转过来研究研究,嘿嘿…1、 for((i=1;i<=10;i++));do echo $(expr $i \* 4);done2、在shell中常用的是 for i in $(seq 10)3、for i in `ls`4、for i in ${arr[@]}5、for i in $* ; do6、for File in /proc/sys/net/ipv4/conf/*/accept_redi 阅读全文
posted @ 2012-10-16 10:57
新手的blog
阅读(292)
评论(0)
推荐(0)

浙公网安备 33010602011771号