-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommands
45 lines (45 loc) · 3.19 KB
/
commands
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
while :
do
clear
echo "_________________________________________________________________________________________"
echo "|_______________________________________________________________________________________|"
echo "||_____________________________________________________________________________________||"
echo "||| |||"
echo "||| GENERAL COMMANDS |||"
echo "||| |||"
echo "||| 1. DISPLAY SYSTEM TIME |||"
echo "||| |||"
echo "||| 2. PATH OF THE CURRENT DIRECTORY |||"
echo "||| |||"
echo "||| 3. CHANGE PASSWORD |||"
echo "||| |||"
echo "||| 9. RETURN |||"
echo "||| |||"
echo "||| |||"
echo "||| |||"
echo "||| |||"
echo "||| |||"
echo "||| |||"
echo "||| |||"
echo "||| |||"
echo "||| |||"
echo "||| 0000___000 |||"
echo "||| Please select desired option index 00000__000 |||"
echo "||| 000_000000 |||"
echo "||| 000__00000 |||"
echo "||| 000___0000 |||"
echo "|||___________________________________________________________________________________|||"
echo "||_____________________________________________________________________________________||"
echo "|_______________________________________________________________________________________|"
read option
case $option in
1) echo "The current time of the system is "; date;
echo "Press ENTER to continue"; read nothing;;
2) echo "The current path is "; pwd;
echo "Press ENTER to continue"; read nothing;;
3) passwd;
echo "Press ENTER to continue"; read nothing;;
9) sh menu; break;;
*) echo "Typing error"; sleep 1;;
esac
done