Answers for "until loop in bash"

1

how to do a repeat until loop in bash

until [CONDITION]
do
  [COMMANDS]
done
Posted by: Guest on December-22-2020
0

until loop bash

#!/bin/bash

counter=0

until [ $counter -gt 5 ]
do
  echo Counter: $counter
  ((counter++))
done
Posted by: Guest on August-03-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language