-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctionality.py
More file actions
43 lines (34 loc) · 1.09 KB
/
functionality.py
File metadata and controls
43 lines (34 loc) · 1.09 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
import os #Main Menu
def mainMenu():
os.system("tput setaf 1")
print("""
\t 1 : Basic Operation
\t 2 : Package Management
\t 3 : User Management
\t 4 : Networking
\t 5 : Permissions
\t 6 : Services Management
\t 7 : Use Docker Management
\t 8 : AWS Management
\t 9 : Ansible Management
\t 10 : Hadoop Management
\t 10 : LVM Management
\t 11 : exit
""")
os.system("tput setaf 7")
def selection():
os.system("tput setaf 1")
print("""
1. Your System
2. Remote System
3. Exit
""")
os.system("tput setaf 7")
def per_opt() :
print("""
for read permission press r
for write permission press w
for execute/run permission press x
for both read and write press rw
and so on
""")