if 语句通过关系运算符判断表达式的真假来决定执行哪个分支。Shell 有三种 if ... else 语句: if ... fi 语句;if ... else ... fi 语句;if ... elif ... else ... fi 语句。1) if ... else 语句 if ... else 语句的语法: if [ expression ]
then
shell mysql 处理数据小结,shell中子进行变量的传递看了好久..学习一下另一种思维方式[root@ccsafe cc]# cat productinfo.sh#!/bin/bashbash awk?#stat data for check product system#cc@ccsafe.com#2008-10-15readonly -a g_DBConf=("-hlocalhost&