shell_base
摘要:1、使用if_then语句if commandthen commandsfi先运行if后面的命令,如果命令的退出状态是0(成功执行命令),就将执行then后面,fi前面的所有命令。否则就跳到fi后面继续执行。2、if-then-else语句if commandthen commandselse co...
阅读全文
posted @ 2015-03-06 11:21
posted @ 2015-03-06 11:21