-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_history
395 lines (395 loc) · 5.69 KB
/
.bash_history
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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
cd
clear
/
pwd
cd /
clear
date
timedatectl list-timezones
clear
sudo timedatectl set-timezone "America/New_York"
sudo timedatectl set-timezone "America/Chicago"
date
sudo timedatectl set-timezone "America/New_York"
date
sudo timedatectl set-timezone "America/Chicago"
date
clear
ping megadevoss.com
clear
whoiam
iam
clear
history
clear
cat /etc/*release
clear
* -help
*-help
* man
clear
echo $SHELL
nano myscript.sh
echo " hello world!"
echo
clear
nano myscript.sh
myscript.sh
ls
./myscript.sh
sude ./myscript.sh
ls
whoami
./myscript.sh
sudo ./myscript.sh
ls
cat
clear
cat myscript.sh
ls
chom 777
chom 777 myscript.sh
chmod 777 ec2-user
chmod 777 myscript.sh
./myscript.sh
clear
nono myscript.sh
clear
ls
nano myscript.sh
exit
clear
myname=yay
echo $myname
cameroon = africa
cameroon=africa
echo $cameroon
Nigeria=West Africa
Nigeria=WestAfrica
echo
echo Nigeria=WestAfrica
echo $Nigeria
clear
ls
$myname
clear
#!/bin/bash
now=(date)
echo"The system time is:"
clear
nano myscript.sh
clear
nano systemgreeting.sh
systemgreeting.sh
echo systemgreeting.sh
ls
myscript.sh
./systemgreeting.sh
./myscript.sh
clear
nano systemgreeting
clear
ls
./systemgreeting
./systemgreeting.save
chmod 777 ec2-user
clear
whoami
chmod 777
clear
whoami
chmod 777 ec2-user
clear
ls
whoami
sudo chmod 777 ec2-user
clear
ls
chmod 0777 systemgreeting.save
./systemgreeting.save
./myscript.ls
clear
ls
chmod 777 myscript.sh
./myscript.sh
./systemgreeting.save
clear
nano
./Bestbuy.sh
chom777 ec2-user
chmod777 ec2-user
chmod 777 ec2-user
chmod 777 Bestbuy.sh
./Bestbuy.sh
clear
ls
$(ls)
clear
files=$(LS)
files=$ (ls)
files=$(ls)
echo files
clear
ls
files=$(ls)
echo $files
date
nono systemgreeting.save
nano systemgreeting.save
ls
echo $systemgreeting.sh
./systemgreeting.sh
chmod 777 systemgreeting.sh
./sytemgreeting.sh
clear
ls
chmod 777 systemgreeting.sh
./systemgreeting.sh
nano systemgreeting.sh
echo now
nano systemgreeting.sh
./systemgreeting.sh
nano systemgreeting.sh
./systemgreeting.sh
nano systemgreeting.sh
./systemgreeting.sh
env
head
clear
head $env
clear
pwd
ls
expr 40 + 10
30 + 10
30\*2
30 \ * 2
30 \* 2
clear
30\*2
30 \x2
30 \ x 2
30+1
clear
Clear
clear
expr 30\*2
expr 30 \* 2
expr 30+1
expr 30 + 1
expr 30 + 1
expr 30 + 1
clear
mynumber1=100
echo $mynumber1
expr $mynumber1 + 50
mynumer2=88
expr $mynumber2 + $mynumber1
expr $mynumber1 + mynumer2
expr $mynumber1 + $mynumer2
clear
vi advertisement
./advertisement
nano ./advertisement
sudo ./advertisement
clear
sudo chmod 0777 advertisement
./advertisement
clear
files=$(ls)
echo
clear
vi exampl2script
sudo 777 example2script
sudo 777 exampl2cript
sudo 777 exampl2script
clear
./exampl2script
sudo chmod 777 exampl2script
./exampl2script
ls
mv exampl2script exam2script
ls
mv advertisement advertisement.sh
ls
-mv exam2script exam2script.sh
mv exam2cript exam2script.sh
mv exam2script exam2script.sh
ls
clear
vi
nano datetime.sh
./datetime.sh
sudo chmod 777 ./datetime.sh
./datetime
./datetime.sh
nano dateime.sh
nano datetime.sh
clear
nano systemgreeting.sh
sudo yum install git -y
clear
git
ls /home
/binary
/ binary
git status
git init
clear
git --version
git status
echo Racheal >> Collonades
ls
ls Collonades
cat Collonades
vi Collandes
cat Collonades
cat Collandes
clear
git -v
sudo yum install git -y
clear
nano Racheal
cat Racheal
ls
history
clear
vi typesoftelevision
vi myfirstbashshell
echo myfirstbashshell
cat myfirstbashshell
clear
hostname
git init
ls
cat Bestbuy.sh
git add Bestbuy.sh
git commit -m "September 16 commit"
git config --global user.email "[email protected]"
git config --global user.name "Tapong"
git remote add septemberrepo https://github.com/hanseltapong/sunday.git
git push septemberrepo master
git pull --rebase septemberrepo master
git push septemberrepo master
clear
sudo adduser Tapong
passwd Tapong
sudo passwd Tapong
sudo adduser Hans
passwd Hans Bamenda1
sudo passwd Hans Bamenda1
sudo passwd Hans
cat/etc/shadow
ls
whoami
sudo su -Hans
sudo su - Hans
whoami
ls
yum install tree
sudo yum install tree
clear
sudo vi/etc/sudoers
sudo vi /etc/sudoers
sudo userdel Hans
sudo userdel Tapong
whoami
su - Tapong
su - Hans
echo I am rich in the lord > Bible
cat Bible
ls
cat myfirstbashshell
echo God has done miracles in my life. >> Bible
ls
cat Bible
Vi Bible
vi Bible
ls Bible
cat Bible
vi Bible
cat Bible
cp Bible Bible2
cat Bible2
ls
wc Bible2
ls Bestbuy.sh
ls
clear
echo $shell
ls
which shell
clear
Vi Target.sh
vi Target.sh
./target
./Target
./Target.sh
sudo ./Target
sudo ./Target.sh
chmod 777 Target.sh
./Target.sh
sudo ./Taget.sh
./ Target.sh
cat Target.sh
clear
vi starbucks.sh
chmod 777 starbucks.sh
./starbucks.sh
./ starbucks.sh
ls
./myscript.sh
vi myscript.sh
vi starbucks.sh
./starbucks.sh
vi myscript.sh
vi starbucks.sh
./ starbucks.sh
./starbucks.sh
clear
vi variables.sh
./variables.sh
chmod 777 variables.sh
./variables.sh
vi systemt/date.sh
vi systemdateandtime.sh
./ systemdateandtime.sh
./systemdateandtime.sh
sudo ./systemdateandtime.sh
chmod 777 ./systemdateandtime.sh
./systemdateandtime.sh
vi loginscript.sh
chmod 777 loginscript.sh
./loginscript.sh
vi loginscript.sh
./loginscript.sh
vi loginscript.sh
./loginscript.sh
./loginsscript.sh
vi loginscript.sh
./loginsscript.sh
clear
./loginsscript.sh
ls
./loginscript.sh
vi loginscript.sh
./loginscript.sh
vi loginscript.sh
./loginscript.sh
vi loginscript.sh
./loginscript.sh
clear
git pull https://github.com/LandmakTechnology/kubernetes-manifests
clear
whoami
sudo choco install terraform -y
choco install terraform -y
clear
choco install terraform
sudo install choco
install --help
sudo yum install choco
sudo yum install chocolatey
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))"
sudo yum install chocolatey -y
sudo yum install choco -y