一、函数的定义和调用二、函数的返回值三、带参数的函数四、自定义函数库五、functions函数库六、递归函数一、函数的定义和调用 函数是Shell脚本中自定义的一系列执行命令,一般来说函数应该设置返回值. 语法:#shell中的函数定义#其中function为关键字,FUNCTION_NAME为... Read More
posted @ 2015-09-27 18:19 超超xc Views(608) Comments(0) Diggs(0) Edit
shell中的循环主要有for、while、until、select几种一、for循环二、while循环三、until循环四、select循环五、嵌套循环六、循环控制一、for循环 1.列表for循环 for VARIABLE in (list) do command done 执行... Read More
posted @ 2015-09-27 11:25 超超xc Views(453) Comments(0) Diggs(0) Edit
I suppose,were childrenonec.