Jordan Savant // Software Engineer

#!/bin/bash

# Until loops loop until a true statement is reached

var=`echo '0'`
until [[ $var = '1' ]]
do
  sleep 1
  var=`echo '1'`
done