Arrêtez de boucher en boucle
#!/bin/bash
for number in 10 11 12 13 14 15; do
if [ $number -eq 14 ]; then
break
fi
echo "Number: $number"
done
Devops Captain
#!/bin/bash
for number in 10 11 12 13 14 15; do
if [ $number -eq 14 ]; then
break
fi
echo "Number: $number"
done