Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EDTbash
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Wang Gao
EDTbash
Commits
339991f4
Commit
339991f4
authored
Jul 05, 2019
by
Wang Gao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Creat menu.sh script
parent
e8d722bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
hw1.sh
hw1.sh
+3
-0
menu.sh
menu.sh
+15
-0
No files found.
hw1.sh
0 → 100755
View file @
339991f4
#!/bin/bash
echo
"hello world 1"
\ No newline at end of file
menu.sh
0 → 100755
View file @
339991f4
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment