脚本中所有的命令都要echo到log文件里,方便跟踪。

 

grep的时候要小心grep出多行,正则表达式的匹配越精确越好!

Posted on 2014-03-12 10:37  boatinwind  阅读(139)  评论(0)    收藏  举报