forked from yilidan37/OOP-Workshops-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_history
11355 lines (11321 loc) · 170 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
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#1557241890
ssh node04pd@matrix
#1557286292
cal
#1557286297
date
#1557286311
2^10
#1557286347
exit
#1557408662
~uli101/assign1
#1557416806
ls
#1557416814
pwd
#1557416821
who
#1557416836
whoami
#1557416890
ls -l
#1557418026
~uli101\assign1
#1557418184
exit
#1557420776
~uli101/assign1
#1557422520
exit
#1557418153
~uli101/assgn1
#1557418256
ssh
#1557418266
pwd
#1557418279
~uli101/assign1
#1557421358
man cat
#1557421711
ls
#1557421724
cat public_html
#1557421746
ls
#1557421751
ls -l
#1557421757
who
#1557421767
whoami
#1557421786
touch file1
#1557421802
ls -l
#1557421810
cat file1
#1557421828
mv file1 file 2
#1557421839
mv file1 file2
#1557421841
ls
#1557421851
cp file2 file1
#1557421855
ls
#1557421881
head -2 file2
#1557421889
tail -2 file2
#1557421895
cat file1
#1557421907
touch file1
#1557421918
touch file3 file4
#1557422230
echo 'this is the first line' >> file1
#1557422242
echo 'this is the first line' >> file1
#1557422269
cat file1
#1557422350
vi file1
#1557443056
pwd
#1557443061
ls -a
#1557443149
ls -la
#1557443161
ls *f*
#1557443171
sort file1
#1557443186
cat file1
#1557443434
~uli101/assign1
#1557499858
pwd
#1557499860
cd
#1557499867
pwd -p
#1557499874
pwd
#1557499913
~uli101/assign1
#1557518433
echo
#1557518440
echo *
#1557518453
ls -l
#1557518456
ls
#1557518500
echo file1
#1557518510
ls file1
#1557518520
echo f*
#1557518621
touch file5
#1557518623
ls
#1557518628
echo *
#1557518640
vi file1
#1557518815
ls -ld
#1557518931
ld -ld *
#1557518959
ls -ld *
#1557518981
ld -ld testing/1/2/3
#1557518993
ls -ld testing/1/2/3
#1557519026
pwd
#1557519033
cd /tmp
#1557519037
pwd
#1557519087
cd
#1557519089
pwd
#1557519313
la
#1557519315
ls
#1557519361
ls /home/hzheng62/testing/1/2/3
#1557519367
echo
#1557519382
echo testing/1/2/3/file1
#1557519396
cd testing/1/2/3
#1557519397
ls
#1557519496
ls -R testing/1
#1557519504
cd
#1557519518
ls -R testing/1
#1557519671
mkdir /testing/1/2/3/file1
#1557519696
mk /testing/1/2/3
#1557519717
mkdir testing/1/2/3/file1
#1557519729
mkdir testing/1/2/3
#1557519752
touch testing/1/2/3/file1
#1557519765
ls testing/1/2/3
#1557519854
echo
#1557519858
echo *
#1557519891
rm -ri d?
#1557519909
ls -ld testing
#1557519920
ls -ld
#1557519943
ls _R testing
#1557519960
ls -R testing/1
#1557520265
mkdir systems/part3
#1557520383
mkdir testing/1/2
#1557520460
mkdir testing/1/2/3
#1557520496
mkdir testing
#1557520516
rmdir testing
#1557520766
rd
#1557521252
man cy
#1557521258
man cp
#1557619262
~uli101/assign1
#1557619941
exit
#1557619335
ls
#1557619340
ls -l
#1557619345
ls -ld
#1557619387
cacademo
#1557619441
ll / | lolcat
#1557619914
lsb_release -a
#1557621079
exit
#1557628820
~uli101/assign1
#1557709816
cd ~uli101/assign1
#1557709829
cd ~uli101
#1557709833
ls
#1557709850
sudo ls -l
#1557709894
echo *
#1557709901
ls -la
#1557709914
exit
#1557712216
~uli101/assign1
#1557712379
pwd
#1557712406
mkdir sample_dir
#1557712424
cd sample_dir
#1557712482
mkdir cambridge faculty markham oxford stenton
#1557712506
cd cambridge
#1557712530
mkdir library security
#1557712538
cd security
#1557712588
touch annex parking
#1557712636
cd ../../markham
#1557712639
pwd
#1557712668
touch annex
#1557712690
cd ../oxford
#1557712692
pwd
#1557712708
mkdir programming
#1557712727
touch outline.doc
#1557712763
touch programming/report.pdf
#1557712768
ls
#1557712784
cd
#1557712785
pwd
#1557712805
touch history.online
#1557712809
ls -R
#1557712848
cd stenton
#1557712856
pwd
#1557712923
cd sample_dir/stenton
#1557712939
mkdir lib_arts
#1557712949
cd lib_arts
#1557712953
pwd
#1557713001
touch english.txt match.doc
#1557713006
cd
#1557713008
pwd
#1557713047
mv history.online sample_dir
#1557713083
~uli101/2019b/showtree ~/sample_dir
#1557713300
pwd
#1557713925
ls
#1557714054
cd sample_dir
#1557714063
cd cambridge
#1557714070
pwd
#1557714082
cd ..
#1557714083
pwd
#1557714090
cd ..
#1557714108
cd sample_dir/cambridge
#1557714110
pwd
#1557714119
cd ../../
#1557714124
pwd
#1557714279
cd sample_dir/cambridge
#1557714282
cd~
#1557714286
cd ~
#1557714292
pwd
#1557714297
cd sample_dir/cambridge
#1557714299
pwd
#1557714304
cd ~
#1557714312
cd sample_dir/cambridge
#1557714315
cd ~/
#1557714319
pwd
#1557714566
Your current directory is cambridge. Move to your home directory using a relative pathname (don't
#1557714570
use cd by itself for this move):
#1557714573
Your current directory is cambridge. Move to your home directory using a relative pathname (don't
#1557714575
use cd by itself for this move):
#1557714625
cleae
#1557714628
clear
#1557714657
cd sample_dir/cambridge
#1557714660
pwd
#1557714720
cd ../..
#1557714723
pwd
#1557843732
df
#1557843749
df -h
#1557843856
df -T
#1557844125
ls -R
#1557844130
df
#1557844148
df -T
#1557844262
w
#1557844275
whoami
#1557844278
who
#1557844280
w
#1557844372
ls
#1557844399
file file5
#1557844614
touch new-file
#1557844615
ls
#1557844621
ls -l
#1557844638
mv new-file *
#1557844641
ls -l
#1557844710
cd
#1557844713
ls -l
#1557844820
touch 1.2.3
#1557844826
ls -l
#1557844846
mv 1.2.3 *
#1557844862
ls -l
#1557844886
touch 1.2
#1557844892
mv 1.2 1.3
#1557844895
ls -l
#1557845004
ls -l sample_dir
#1557845026
cd *
#1557845040
cd 1.3
#1557845134
cd s
#1557845311
man df
#1557845455
man man
#1557845490
man 9 man
#1557845496
man -9 man
#1557845507
man 3 printf
#1557845714
man 9 man
#1557845717
ls -l
#1557845765
mv 1.3 '*'
#1557845769
ls -l
#1557845820
man 1 man
#1557845871
man
#1557845878
man man
#1557846079
man df
#1557846204
man prints
#1557846209
man printf
#1557846245
ls -l
#1557846251
cd
#1557846255
ls -a
#1557846260
touch 1
#1557846278
vi 1
#1557846395
cat 1
#1557846423
more 1
#1557846427
less
#1557846431
less 1
#1557846722
pwd
#1557846726
ls -l
#1557846737
rm '*'
#1557846739
ls
#1557846745
cat 1
#1557846755
less 1
#1557846856
more 1
#1557846866
less 1
#1557846882
tail -3
#1557846910
tail -3 1
#1557846920
head -3 1
#1557846928
sort 1
#1557846935
uniq 1
#1557846940
cat 1
#1557846955
less 1
#1557846984
file
#1557846988
file 1
#1557847001
mv 1 1.jpg
#1557847009
file 1
#1557847016
file 1.jpg
#1557847025
df -T
#1557847034
df -h
#1557847061
pwd
#1557847065
ls -l
#1557847077
ls sample_dir -l
#1557847096
~uli101/assign1
#1557863476
mkdir w01
#1557863483
cd w01
#1557863930
ls
#1557864026
gcc w1_lab.c -o wl
#1557864062
wl
#1557864249
gcc w1_lab.c -o w1
#1557864279
ls
#1557864287
pwd
#1557864293
ls -l
#1557864311
cd w1
#1557864338
ls
#1557864346
gcc w1_lab.c -o w1
#1557864350
w1
#1557864630
ls
#1557864641
df
#1557864658
ls -l
#1557864784
gcc w1_lab.c -o w2
#1557864786
w2
#1557864872
w1
#1557865353
ls
#1557865380
~gayan.gamage/submit 144w1/SKK_lab
#1557865902
w
#1557865907
whoami
#1557865936
pico w1
#1557866046
pico w1_lab.c
#1557866453
less 1
#1557866673
gcc w1_lab.c
#1557866674
ls
#1557866676
a
#1557866686
ws
#1557866743
rm a.out
#1557866744
ls
#1557866762
cat output.txt
#1557866777
cat error.txt
#1557866795
cat lab_output.txt
#1557883523
cd w01
#1557883525
ls
#1557883596
gcc w1_home.c w2 -o
#1557883606
gcc w1_home.c -o w2
#1557883608
ls
#1557883611
w2
#1557883669
pico reflect.txt
#1557883731
~gayan.gamage/submit 144w1/skk_home
#1557883803
~gayan.gamage/submit 144w1/SKK_home
#1557890531
ls
#1557890554
gcc w1_home.c -o w2
#1557890556
w2
#1557890563
gcc w1_home.c -o w3
#1557890566
w3
#1557890573
~gayan.gamage/submit 144w1/SKK_home
#1557960326
tree
#1557960392
rm -ri 1.2.3
#1557960400
pwd
#1557960405
ls
#1557960438
rm -ir /smaple_dir/1.2.3
#1557960453
cd smaple_dir
#1557960497
ls
#1557960504
cd w01
#1557960514
cd
#1557960516
ls
#1557960524
cd sample_dir
#1557960527
ls
#1557960549
rm 1.2.3
#1557960559
rm file5
#1557960561
ls
#1557960566
tree
#1557960599
~uli101/assign1
#1557960610
cd
#1557960614
cd w01
#1557960616
w1
#1557960617
ls
#1557960620
w2
#1557960623
w3
#1557960626
ws
#1557962051
tftp
#1557963796
tree
#1557964245
quit
#1557964249
exit
#1557967253
tree
#1557967525
~uli101/assign1
#1557967627
tree
#1557967669
pwd
#1557967741
tree
#1557967749
tftp
#1557967756
quit
#1557967762
exit
#1557968024
tree
#1557968054
~uli101/assign1
#1557963293
tree
#1557972347
ls
#1557972351
pwd
#1557972356
tree
#1557972392
rm -r ../w2
#1557972416
rm -r w01/w2
#1557972419
tree
#1557972464
rm -r w01/w[1-2]
#1557972466
tree
#1557972486
rm -r w01/w[1-3]
#1557972508
gcc w1_lab.c -o w1
#1557972518
cd w01
#1557972522
gcc w1_lab.c -o w1
#1557972526
w1
#1557972538
gcc w1_home.c -o w2
#1557972540
w2
#1557972618
~gayan.gamage/submit 144w1/SKK_home
#1557972652
cat reflect.txt
#1557972680
cat w1_home.c
#1557973545
ls
#1557973549
tree
#1557973559
ws
#1557973566
cd /
#1557973568
pwd
#1557973571
cd
#1557973573
pwd
#1557973576
ls
#1557973585
cd sample_dir
#1557973587
ls
#1557973668
who
#1557973681
whoami
#1557973682
w
#1557973690
pico
#1557973714
pico newFile.txt
#1557974102
#1557974107
cd
#1557974109
ls
#1557974116
cd /
#1557974117
ls
#1557974133
cd
#1557974137
ls
#1557974179
pico newFile.txt
#1557974246
cat newFile.txt
#1557974254
ls
#1557974273
sort newFile.txt
#1557974288
uniq newFile.txt
#1557974300
cat newFile.txt
#1557974318
head -8
#1557974366
head -8 newFile.txt
#1557974380
more newFile.txt
#1557974399
less newFile.txt
#1557974550
ls
#1557974571
del newFile.txt
#1557974589
rm -r newFile.txt
#1557974591
ls
#1557974597
pw
#1557974600
pwd
#1558027442
clear
#1558027446
w
#1558021313
ls
#1558021319
tree
#1558021326
pico
#1558021342
less sample_dir
#1558021697
cal 2 2025
#1558021704
cal 2019
#1558021707
cal
#1558021710
date
#1558021951
mkdir philip
#1558021954
cd pilip
#1558021955
pwd
#1558021959
ls
#1558021970
cd philip
#1558021978
touch a file
#1558021979
ls
#1558021991
rm a file
#1558021993
ls
#1558022000
touch aFile
#1558022043
ls -i aFile
#1558022272
mv aFile ../music
#1558022274
ls
#1558022279
cd
#1558022281
ls
#1558022293
ls -i music
#1558022477
mv music bFile
#1558022484
ls -i bFile
#1558023370
vi
#1558023410
ls
#1558023428
mv bFile philip
#1558023429
ls
#1558023432
cd philip
#1558023435
ls
#1558023449
ls -bFile
#1558023457
ls -i bFile
#1558023505
vi
#1558023645
ls
#1558023655
vi a1.c
#1558024007
cat a1.c
#1558024191
less a1.c
#1558024283
ls
#1558024547
vi bFile
#1558024783
file
#1558024791
find a.c
#1558025052
tree
#1558025058
tree home
#1558025069
cd
#1558025075
tree home
#1558025079
cd /
#1558025084
tree home
#1558025106
ir
#1558025107
ls
#1558025117
tree /
#1558025177
cd
#1558025180
pwd
#1558025185
tree home
#1558025193
tree /home
#1558025221
tree /hzheng62
#1558025252
tree /home/hzheng62
#1558026761
cd
#1558026817
cp -r .home/john.selmys/.vim .
#1558026829
cp -r /home/john.selmys/.vim .
#1558026832
ls
#1558026850
ls .vim
#1558026923
ls .vim/colors/
#1558026951
cd .vim/colors
#1558026952
ls
#1558026974
cd
#1558026977
ls
#1558026990
ls -a
#1558027113
vi a1.c
#1558122547
~uli101/assign1
#1558446317
vi
#1558446479
vi 123
#1558446582
nl 123
#1558446588
less 123
#1558446629
color scheme
#1558446714
vi 123
#1558446808
ls 123
#1558446811
ls
#1558446823
less a1.c
#1558446857
vi a1.c
#1558446971
gcc a1.c -o a1
#1558446980
vi a1.c
#1558447050
gcc a1.c -o a1