tp2-adminsys/monshell2.sh
2022-10-12 09:17:37 +02:00

15 lines
190 B
Bash
Executable file

#!/bin/bash
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