Linux扩展篇-shell编程(五)-流程控制(四)-while语句

基本语法:

while [ condition ]
do
    statement
done

或

while [ condition ]; do
    statement
done

注意事项:

实践:

posted @ 2023-06-27 10:33  cavan丶keke  阅读(8)  评论(0编辑  收藏  举报