📜  for 循环 while 循环 shell 函数 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:31.451000             🧑  作者: Mango

代码示例1
while check1
do
    # Loop while check1 is successful (returns 0)

    if check1
    then
        echo 'check1 was successful'
    fi

done