I'm writing a simple backup script and need to use two loops.
How can I include a loop within a loop?
With the following, the program stalls at the end, it apparantly doesn't like the two done's next to each other.
while [ -f test ]
until [ $x "=" 5 ]
echo $x " - not 5 yet!"