Linux系统shell脚本基础之function功能
- 一、function介绍
- 二、function简单应用的脚本
- 三、执行脚本
一、function介绍
函数function是由若干条shell命令组成的语句块,实现代码重用和模块化编程。
二、function简单应用的脚本
[root@192 scripts]# cat ittest.sh
#!/bin/bash
########################################
#Author:jeven
函数function是由若干条shell命令组成的语句块,实现代码重用和模块化编程。
[root@192 scripts]# cat ittest.sh
#!/bin/bash
########################################
#Author:jeven
微信扫码登录