32. Shell 脚本中 while 循环语法?32. Shell 脚本中 while 循环语法?如同 for 循环,while 循环只要条件成立就重复它的命令块。 不同于 for循环,while 循环会不断迭代,直到它的条件不为真。 基础语法: while [ 条件 ]do命令…done