摘要: 基本的函数脚本 创建函数: function name{ commands } 使用函数:指定函数名即可 ubuntu@TOS:~/ShellTest/ch17$ cat test1.sh #!/bin/bash function func1 { echo "This is an example of a fucntion" } count=1 while [ $co... 阅读全文
posted @ 2017-09-09 17:22 Charlyhash 阅读(126) 评论(0) 推荐(0)