Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

until loop bash

#!/bin/bash

counter=0

until [ $counter -gt 5 ]
do
  echo Counter: $counter
  ((counter++))
done
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #loop #bash
ADD COMMENT
Topic
Name
8+7 =