目录 前言: 一、for循环 1、作用: 2、for语句结构 3、for语句的基本格式 4、练习: 二、条件语句 1、while...do语句 2、until...do 语句 3、if...then...elif...then...else...fi 语句 4、练习 5、case case练习 三、expect应答脚本 1、expect应用 2、expect和shell融合 3、expect练习