ajout 8/ 9/

This commit is contained in:
owen 2022-10-12 10:38:51 +02:00
parent b47f121eae
commit 9a15ab7ff0
4 changed files with 35 additions and 0 deletions

0
STOP Normal file
View file

9
monshell3.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
nombre=100
until [[ $nombre -eq 0 ]]
do
echo $nombre
nombre=$((nombre -1))
done

13
until2.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
var=1
until [[ var -ne 1 ]]
do
echo "Texte"
sleep 2
if [ -e STOP ]
then
var=0
fi
done

13
while.sh Normal file
View file

@ -0,0 +1,13 @@
#!/bin/bash
var=1
while [[ var -eq 1 ]]
do
echo "Texte"
sleep 2
if [ ! -e GO ]
then
var=0
fi
done