經安全檢測,此網站為安全網站,請放心前往原始網址!

shell编程——if语句_macg_新浪博客

2009年8月6日 ... if command then if 函数 then, 命令执行成功,等于返回0 (比如grep ,找到匹配 ... vi testsh.sh #!/bin/sh cat 111-tmp.txt | grep ting1 if [ $? -eq 0 ] then

blog.sina.com.cn

網址安全性掃描由 google 提供