For((I=1;I<=5;I++))
do
for((j=5;j>I;j--))
do
echo -n " "
done
for((k=1;k<2*I;k++))
do
echo -n "*"
done
echo " "
done
do
for((j=5;j>I;j--))
do
echo -n " "
done
for((k=1;k<2*I;k++))
do
echo -n "*"
done
echo " "
done