nick34992
2/22/2017 - 3:20 AM

Bash: until, do, done, let, echo: Until Loop

Bash: until, do, done, let, echo: Until Loop

#!/bin/bash

x=0;
y=10;

until [ $x -eq 10 ]; do let x++; echo $x; done
until [ $y -eq 0 ]; do let y--; echo $y; done