-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlinux.html
More file actions
223 lines (221 loc) · 11.5 KB
/
linux.html
File metadata and controls
223 lines (221 loc) · 11.5 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<html>
<head>
<style>
:root{
/* Sea Green */
/*--left-color: #de6262;*/
--left-color: #d3d3d3 ;
/* Light Blue */
--right-color: #02aab0;
}
body, html{
text-align: center;
align-content: center;
font-family: 'Helvetica Neue', sans-serif;
letter-spacing: 1.5px;
background-image: linear-gradient(to right, var(--left-color), var(--right-color));
color: black;
}
.container{
width: 25%;
height: 70%;
border-radius: 5px;
background-color: #fff;
box-shadow: 2px 10px 40px rgba(22,20,19,0.4);
padding: 10 10;
margin: 50px;
float:left;
}
/*h1
{
color: var(--left-color);
}*/
input[type=text], select {
width: 75%;
padding: 12px 18px;
margin: 8px 0;
box-sizing: border-box;
border: 2px solid #dcdcdc;
border-radius: 8px;
outline: none;
}
input[type=text]:focus {
border: 2px solid var(--left-color);
}
input[type=submit] {
width: 45%;
background-color: blue;
color: white;
font-size: 14px;
font-weight: bold;
padding: 10px 10px;
margin: 8px 8px;
border: none;
border-radius: 8px;
cursor: pointer;
letter-spacing: 1px;
}
input[type=submit]:hover {
background-color: var(--right-color);
}
textarea{
width: 70%;
height: 20%;
}
hr{
border: 1px solid var(--left-color);
background-color: var(--left-color);
}
h1{
text-shadow: 2px 2px 2px rgba(22,20,19,0.4);
}
</style>
</head>
<body>
<div class="linux" id="linux">
<h1>(a). Linux</h1>
<h1>01. Create a directory</h1>
<form action="http://172.18.233.252/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number(as Linux-1)</label><br>
<input type="text" name="a" value="linux-1"><br><br>
<label for="option">Name of Directory</label><br>
<input type="text" name="x"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>02. files in current directory</h1>
<form action="http://172.18.233.252/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a" value="linux-2"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>03. Create an empty file</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<label for="option">Enter Name of file</label><br>
<input type="text" name="x"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>04. Create a file and open for editing</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<label for="option">Enter Name of file</label><br>
<input type="text" name="x"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>05. Add a new user </h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<label for="option">Enter Name of User</label><br>
<input type="text" name="x"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>06. Set/change password </h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<label for="option">Enter password</label><br>
<input type="text" name="x"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>07. Show current RAM usage </h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>08. Show the disk usage </h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>09. Check if package is present</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<label for="option">Enter Name of Package</label><br>
<input type="text" name="x"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>10. Remove a package</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<label for="option">Enter Name of Package</label><br>
<input type="text" name="x"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>11. Lists the network configuration</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>12. Checks the java running services</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>13. List the CPU info</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>14. Show currenty running processes</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>15. Show running time of device</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>16. Clear the cache</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>17. Check which package provide the command</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<label for="option">Enter Command Name</label><br>
<input type="text" name="x"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>18. Checks the connectivity to IP</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<label for="option">Enter IP</label><br>
<input type="text" name="x"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>19. Create a user for running a specific command</h1>
<form action="http://172.24.16.5/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<label for="option">Enter Name of user</label><br>
<input type="text" name="x"><br><br>
<label for="option">Enter the commmand to be run</label><br>
<input type="text" name="y"><br><br>
<input type="submit" name="null">
</form></br></br></br></br></br></br></br></br></br>
<h1>20. Show Date </h1>
<form action="http://172.18.233.252/cgi-bin/backend.py" method='POST' target='_blank'>
<label for="option">Enter the option number</label><br>
<input type="text" name="a"><br><br>
<input type="submit" name="null">
</form>
</div>
</body>
</html>