-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.sh
executable file
·38 lines (35 loc) · 1017 Bytes
/
main.sh
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
#!/bin/bash
clear
echo "Jurrasic Park, System Security Interface"
echo "Version 4.0.5, Alpha E"
echo "Ready..."
echo -n ">"
while read access
do
if [ "$access" == "access security" ]; then
echo "access: PERMISSION DENIED"
echo -n ">"
elif [ "$access" == "access security grid" ]; then
echo "access: PERMISSION DENIED"
echo -n ">"
elif [ "$access" == "exit" ]; then
echo "Exiting, no settings saved."
exit 0
elif [ "$access" == "access main security grid" ]; then
echo "access: PERMISSION DENIED....and...."
while true
do
echo "YOU DIDN'T SAY THE MAGIC WORD"
sleep 1
done
else
echo "No command '$access' found, did you mean:"
echo " Command 'access security' from 'system-security-interface' (main)"
echo " Command 'access security grid' from 'system-security-interface' (main)"
echo " Command 'access main security grid' from 'system-security-interface' (main)"
echo " Command 'exit' (system)"
echo "bash: command not found $access"
echo
echo -n ">"
fi
done