tp2-adminsys/monshell2.sh

16 lines
190 B
Bash
Raw Normal View History

2022-10-12 09:17:37 +02:00
#!/bin/bash
2022-10-12 09:13:47 +02:00
read -p "entrez une valeur mavar" mavar
if [ $mavar -eq 1 ]
then
echo "un"
elif [ $mavar -eq 3 ] || [ $mavar -eq 5 ]
then
echo "trois ou cinq"
else
echo "autre chose"
fi