2024-12-01 22:13:18 +01:00
|
|
|
1 ls
|
|
|
|
2 touch n
|
|
|
|
3 ls
|
|
|
|
4 rm n
|
|
|
|
5 exit
|
|
|
|
6 pwd
|
|
|
|
7 ls
|
|
|
|
8 cd Documents/
|
|
|
|
9 ls
|
|
|
|
10 git log
|
|
|
|
11 git clone https://git.wmi.amu.edu.pl/s500512/WDI-Homework.git
|
|
|
|
12 ls
|
|
|
|
13 cd WDI-Homework/
|
|
|
|
14 history
|
|
|
|
15 mkdir lab1 lab2 lab3 lab4 lab5 lab6 lab7 lab8 lab9 lab10
|
|
|
|
16 ls
|
|
|
|
17 cp ../aws.pdf lab1/aws.pdf
|
|
|
|
18 ls lab1
|
|
|
|
19 cp ../laboratoria2-zadaniedomowe.pdf lab2/
|
|
|
|
20 ls lab2
|
|
|
|
21 cp ../laboratoria3-zadaniedomowe.pdf lab3/
|
|
|
|
22 cp ../laboratoria4-zadaniedomowe.pdf lab4/
|
|
|
|
23 cp ../morse.py.txt lab4/
|
|
|
|
24 ls lab4
|
|
|
|
25 cp ../lab5.bmp lab5/
|
|
|
|
26 cp ../lab5.gif lab5/
|
|
|
|
27 cp ../lab5.jpeg lab5/
|
|
|
|
28 cp ../lab5.png lab5/
|
|
|
|
29 cp ../lab5-i.bmp lab5/
|
|
|
|
30 cp ../lab5-i.bmp.zip lab5/
|
|
|
|
31 cp ../lab5-i.txt lab5/
|
|
|
|
32 cp ../lab5-i.txt.zip lab5/
|
|
|
|
33 cp ../lab5-ii.bmp lab5/
|
|
|
|
34 cp ../lab5-ii.bmp.zip lab5/
|
|
|
|
35 cp ../lab5-ii.txt lab5/
|
|
|
|
36 cp ../lab5-ii.txt.zip lab5/
|
|
|
|
37 ls lab5/
|
|
|
|
38 cp ../laboratoria5-zadaniedomowe.pdf lab5/
|
|
|
|
39 cp ../laboratoria6-zadaniedomowe.pdf lab6/
|
|
|
|
40 cp ../laboratoria6.xml lab6/
|
|
|
|
41 cp ../plik_dtd.dtd lab6/
|
|
|
|
42 cp ../plik.xml lab6/
|
|
|
|
43 cp ../laboratoria7-zadaniedomowe.pdf lab7/
|
|
|
|
44 cp ../books.json lab7/
|
|
|
|
45 cp ../customer.csv lab7/
|
|
|
|
46 cp ../order.csv lab7/
|
|
|
|
47 cp ../product.csv.csv lab7/
|
|
|
|
48 cp ../product.csv lab7/
|
|
|
|
49 ls lab7
|
|
|
|
50 cp ../zadanie1.pdf lab10/
|
|
|
|
51 cp ../zadanie2.pdf lab10/
|
|
|
|
52 ls lab10
|
|
|
|
53 tree
|
|
|
|
54 ls
|
|
|
|
55 cd lab1
|
|
|
|
56 ls
|
|
|
|
57 git status
|
|
|
|
58 ls
|
|
|
|
59 git add aws.pdf
|
|
|
|
60 git status
|
|
|
|
61 git commit -m 'Added files from lab1'
|
|
|
|
62 cd ../lab2/
|
|
|
|
63 ls
|
|
|
|
64 git add laboratoria2-zadaniedomowe.pdf
|
|
|
|
65 git status
|
|
|
|
66 git commit -m 'Added files from lab2'
|
|
|
|
67 cd ../lab3
|
|
|
|
68 ls
|
|
|
|
69 git status
|
|
|
|
70 git add laboratoria3-zadaniedomowe.pdf
|
|
|
|
71 git commit -m 'Added files from lab3'
|
|
|
|
72 cd ../lab4/
|
|
|
|
73 ls
|
|
|
|
74 git add laboratoria4-zadaniedomowe.pdf
|
|
|
|
75 git add morse.py.txt
|
|
|
|
76 git status
|
|
|
|
77 git commit -m 'Added files from lab4'
|
|
|
|
78 cd ../lab5
|
|
|
|
79 ls
|
|
|
|
80 git status
|
|
|
|
81 git add lab5.bmp
|
|
|
|
82 git add lab5.gif lab6.jpeg lab5.png
|
|
|
|
83 git add lab5.gif lab5.jpeg lab5.png
|
|
|
|
84 git status
|
|
|
|
85 git add lab5-i.bmp lab5-i.bmp.zip
|
|
|
|
86 git add lab5-i.txt lab5-i.txt.zip
|
|
|
|
87 git status
|
|
|
|
88 git add laboratoria5-zadaniedomowe.pdf
|
|
|
|
89 git add lab5-ii.bmp
|
|
|
|
90 git add lab5-ii.bmp.zip
|
|
|
|
91 git add lab5-ii.txt
|
|
|
|
92 git add lab5-ii.txt.zip
|
|
|
|
93 git status
|
|
|
|
94 git commit -m 'Added files from lab5'
|
|
|
|
95 cd ../lab6
|
|
|
|
96 ls
|
|
|
|
97 git add laboratoria6.xml
|
|
|
|
98 git add laboratoria6-zadaniedomowe.pdf
|
|
|
|
99 git add plik.xml plik_dtd.dtd
|
|
|
|
100 git status
|
|
|
|
101 git commit -m 'Added files from lab6'
|
|
|
|
102 cd ../lab7
|
|
|
|
103 ls
|
|
|
|
104 git add books.json
|
|
|
|
105 git add customer.csv order.csv product.csv laboratoria7-zadaniedomowe.pdf
|
|
|
|
106 git status
|
|
|
|
107 git commit -m 'Added files from lab7'
|
|
|
|
108 cd ../lab10
|
|
|
|
109 ls
|
|
|
|
110 git add zadanie1.pdf zadanie2.pdf
|
|
|
|
111 git status
|
|
|
|
112 git commit -m 'Added files from lab10'
|
|
|
|
113 ls
|
|
|
|
114 cd ..
|
|
|
|
115 ls
|
|
|
|
116 cd lab8
|
|
|
|
117 ls
|
|
|
|
118 touch .gitkeep
|
|
|
|
119 git add .gitkeep
|
|
|
|
120 git status
|
|
|
|
121 cd ../lab9/
|
|
|
|
122 ls
|
|
|
|
123 touch .gitkeep
|
|
|
|
124 git add .gitkeep
|
|
|
|
125 git status
|
|
|
|
126 git commit -m 'Added .gitkeep to save directory structure'
|
|
|
|
127 cd ..
|
|
|
|
128 ls
|
|
|
|
129 touch README.md
|
|
|
|
130 vim README.md
|
|
|
|
131 cat README.md
|
|
|
|
132 git status
|
|
|
|
133 git add README.md
|
|
|
|
134 git status
|
|
|
|
135 git commit -m 'Added README.md'
|
|
|
|
136 git push
|
|
|
|
137 git log
|
|
|
|
138 ls
|
|
|
|
139 cd lab8
|
|
|
|
140 ls
|
|
|
|
141 ls -a
|
|
|
|
142 git log > log.txt
|
|
|
|
143 cat log.txt
|
|
|
|
144 histoy > history.txt
|
|
|
|
145 history > history.txt
|
2024-12-01 22:18:30 +01:00
|
|
|
146 ls
|
|
|
|
147 cd ..
|
|
|
|
148 cp ../laboratoria8-zadaniedomowe.pdf lab8/
|
|
|
|
149 cd lab8
|
|
|
|
150 ls
|
|
|
|
151 git status
|
|
|
|
152 git add .
|
|
|
|
153 ls
|
|
|
|
154 git status
|
|
|
|
155 git commit -m 'Added files from lab8'
|
|
|
|
156 ls -a
|
|
|
|
157 rm .gitkeep
|
|
|
|
158 git status
|
|
|
|
159 git add .
|
|
|
|
160 git status
|
|
|
|
161 git commit -m 'Deleted .gitkeep from lab8'
|
|
|
|
162 git push
|
|
|
|
163 history
|
|
|
|
164 history > history.txt
|
2024-12-01 22:20:46 +01:00
|
|
|
165 git status
|
|
|
|
166 git add .
|
|
|
|
167 git commit -m 'Updated history.txt'
|
|
|
|
168 git push
|
|
|
|
169 git log
|
|
|
|
170 git log > log.txt
|
|
|
|
171 git add .
|
|
|
|
172 git status
|
|
|
|
173 git commit -m 'Updated log.txt'
|
|
|
|
174 git push
|
|
|
|
175 history
|
|
|
|
176 history > history.txt
|