forked from t2sc0m/shellscript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.sh
More file actions
executable file
·52 lines (36 loc) · 798 Bytes
/
main.sh
File metadata and controls
executable file
·52 lines (36 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
dialog --title "\Z5Bash Shell Script!! " \
--colors --radiolist "\Z1강의를 선택해주세요." 15 35 8 \
0 "오리엔테이션" off \
1 "리눅스와 쉘" off \
2 "리눅스 명령어" off \
3 "초간단 쉘 스크립트" off \
4 "CLI 편집기" off \
5 "간단 쉘 스크립트" off \
6 "고급 명령어" off \
7 "기초편을 마치며" off \
2>./select
touch select
select=$(awk -F% '{print $1}' ./select)
case ${select} in
0)
./0/0.start.sh;;
1)
./1/1.start.sh;;
2)
./2/2.start.sh;;
3)
./3/3.start.sh;;
4)
./4/4.start.sh;;
5)
./5/5.start.sh;;
6)
./6/6.start.sh;;
7)
./7/7-0.sh;;
*)
exit;;
esac
cp -f /dev/null ./select
dialog --clear