Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Incrementing in Bash using an Until Loop

i=0

until [ $i -gt 3 ]
do
  echo i: $i
  ((i=i+1))
done
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #Incrementing #Bash #Until #Loop
ADD COMMENT
Topic
Name
5+4 =