摘要:
写在前面:案例、常用、归类、解释说明。(By Jim)使用函数#!/bin/bash# testing the scriptfunction myfun { echo "This is an example of a function"}count=1while [ $count -le 5 ]do myfun count=$[ $count +1 ]doneecho "This is the end of the loop"myfunecho "Now this is the end of the script"(记得空格,函数一定 阅读全文
posted @ 2013-08-12 16:55
TBHacker
阅读(20512)
评论(0)
推荐(3)

浙公网安备 33010602011771号