Commit 339991f4 authored by Wang Gao's avatar Wang Gao

Creat menu.sh script

parent e8d722bd
#!/bin/bash
echo "hello world 1"
\ No newline at end of file
#!/bin/bash
echo 'Voici une liste des options'
echo '0) Quit'
echo '1) hw1'
# echo '2) hw2'
echo "Quel est votre choix ?"
read choix
case $choix in
0) echo have a nice day ;;
1) ./hw1.sh ;;
# 2) ./hw2.sh ;;
*) echo "votre choix n'existe pas" && echo "-------------------------" && echo "Veuillez reselectioner une option : " ;;
esac
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment