Shell脚本语法--条件测试:test [ Shell脚本语法-- if/then/elif/else/fi Shell脚本语法--while/do/done Shell脚本语法--for/do/done Shell脚本语法--case/esac Shell脚本语法--位置参数和特殊变量Shell脚本语法--函数 原文: http://learn.akae.cn/media/ch31s05.html