while true do if [ `date "+%S"` -ge 50 ]; then if [ `date "+%S"` -lt 59 ]; then echo "LLEGUE" break fi fi sleep 1 done