#!/bin/bash for ((j=1;j<=10;j++)) do echo "♥ $j ♥" if (( $j < 3 )) then sleep 1 fi done