here is our unix loop



#!/bin/bash
#while loop
count=1
until [ $count -le 5 ]; do
echo $count
count=$((count + 1))
done
echo "finished"

# lets remember that -le can be substituted for -gt

Popular posts from this blog

ch11 review silberschatz operating systems concepts essentials 2nd ed