-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtoolkit.sh
More file actions
executable file
·47 lines (43 loc) · 1.16 KB
/
Copy pathtoolkit.sh
File metadata and controls
executable file
·47 lines (43 loc) · 1.16 KB
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
#!/bin/bash
BASE_DIR=$(dirname "$0")
while true; do
clear
echo "=========== LINUX AUTOMATION TOOLKIT ==========="
echo "1. File Management"
echo "2. Log Management"
echo "3. Network Management"
echo "4. Process Management"
echo "5. System Information"
echo "6. User Management"
echo "7. Exit"
echo "==============================================="
read -p "Enter your choice: " choice
case $choice in
1)
bash "$BASE_DIR/File_Management/file_management.sh"
;;
2)
bash "$BASE_DIR/Log_Management/log_management.sh"
;;
3)
bash "$BASE_DIR/Network_Management/network_management.sh"
;;
4)
bash "$BASE_DIR/Process_Management/process_management.sh"
;;
5)
bash "$BASE_DIR/System_Information/system_information.sh"
;;
6)
bash "$BASE_DIR/User_Management/user_management.sh"
;;
7)
echo "Exiting Toolkit..."
exit 0
;;
*)
echo "Invalid choice"
sleep 1
;;
esac
done