tp2-adminsys/monshell2.sh
2022-10-12 09:13:47 +02:00

14 lines
178 B
Bash
Executable file

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