📜  直到循环 bash - Shell-Bash 代码示例

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

代码示例2
#!/bin/bash

counter=0

until [ $counter -gt 5 ]
do
  echo Counter: $counter
  ((counter++))
done