25 </b> |
25 </b> |
26 </p> |
26 </p> |
27 <dl> |
27 <dl> |
28 <dt> |
28 <dt> |
29 <span class="article"> |
29 <span class="article"> |
30 <a href="#id2944857"> |
30 <a href="#id2772279"> |
|
31 Using Linux Tools |
31 </a> |
32 </a> |
32 </span> |
33 </span> |
33 </dt> |
34 </dt> |
|
35 <dd> |
|
36 <dl> |
|
37 <dt> |
|
38 <span class="section"> |
|
39 <a href="#id2582324"> |
|
40 1. Module Objectives |
|
41 </a> |
|
42 </span> |
|
43 </dt> |
|
44 <dt> |
|
45 <span class="section"> |
|
46 <a href="#id2823235"> |
|
47 2. Suggested Reading |
|
48 </a> |
|
49 </span> |
|
50 </dt> |
|
51 </dl> |
|
52 </dd> |
34 </dl> |
53 </dl> |
35 </div> |
54 </div> |
36 <div class="article"> |
55 <div class="article" title="Using Linux Tools"> |
37 <div class="titlepage"> |
56 <div class="titlepage"> |
38 <div> |
57 <div> |
39 <div> |
58 <div> |
40 <h2 class="title" id="id2944857"> |
59 <h2 class="title"> |
|
60 <a name="id2772279"> |
|
61 </a> |
|
62 Using Linux Tools |
41 </h2> |
63 </h2> |
42 </div> |
64 </div> |
43 </div> |
65 </div> |
44 <hr /> |
66 <hr /> |
45 </div> |
67 </div> |
|
68 <div class="toc"> |
|
69 <p> |
|
70 <b> |
|
71 Table of Contents |
|
72 </b> |
|
73 </p> |
|
74 <dl> |
|
75 <dt> |
|
76 <span class="section"> |
|
77 <a href="#id2582324"> |
|
78 1. Module Objectives |
|
79 </a> |
|
80 </span> |
|
81 </dt> |
|
82 <dt> |
|
83 <span class="section"> |
|
84 <a href="#id2823235"> |
|
85 2. Suggested Reading |
|
86 </a> |
|
87 </span> |
|
88 </dt> |
|
89 </dl> |
|
90 </div> |
|
91 <div class="section" title="1.Module Objectives"> |
|
92 <div class="titlepage"> |
|
93 <div> |
|
94 <div> |
|
95 <h2 class="title" style="clear: both"> |
|
96 <a name="id2582324"> |
|
97 </a> |
|
98 1.Module Objectives |
|
99 </h2> |
|
100 </div> |
|
101 </div> |
|
102 </div> |
|
103 <p id="ch8ult_module_plan_1"> |
|
104 After successfully completing this module a participant will be able to: |
|
105 </p> |
|
106 <div class="itemizedlist"> |
|
107 <ul class="itemizedlist" type="*"> |
|
108 <li class="listitem" style="list-style-type: *"> |
|
109 <p id="ch8ult_module_plan_2"> |
|
110 Understand the design philosophy of *nix {U} |
|
111 </p> |
|
112 </li> |
|
113 <li class="listitem" style="list-style-type: *"> |
|
114 <p id="ch8ult_module_plan_3"> |
|
115 Use Linux as their day-to-day operating system {Ap} |
|
116 </p> |
|
117 </li> |
|
118 <li class="listitem" style="list-style-type: *"> |
|
119 <p id="ch8ult_module_plan_4"> |
|
120 Use the text processing tools such as 'grep', 'tr' {Ap} |
|
121 </p> |
|
122 </li> |
|
123 <li class="listitem" style="list-style-type: *"> |
|
124 <p id="ch8ult_module_plan_5"> |
|
125 Write and execute (bash) shell scripts {Ap} |
|
126 </p> |
|
127 </li> |
|
128 <li class="listitem" style="list-style-type: *"> |
|
129 <p id="ch8ult_module_plan_6"> |
|
130 Use a text editor comfortably {Ap} |
|
131 </p> |
|
132 </li> |
|
133 </ul> |
|
134 </div> |
|
135 </div> |
|
136 <div class="section" title="2.Suggested Reading"> |
|
137 <div class="titlepage"> |
|
138 <div> |
|
139 <div> |
|
140 <h2 class="title" style="clear: both"> |
|
141 <a name="id2823235"> |
|
142 </a> |
|
143 2.Suggested Reading |
|
144 </h2> |
|
145 </div> |
|
146 </div> |
|
147 </div> |
|
148 <div class="orderedlist"> |
|
149 <ol class="orderedlist" type="1"> |
|
150 <li class="listitem"> |
|
151 <p id="ch8ult_module_plan_7"> |
|
152 "In the beginning..." by Neal Stephenson |
|
153 </p> |
|
154 </li> |
|
155 <li class="listitem"> |
|
156 <p id="ch8ult_module_plan_8"> |
|
157 "The Unix Programming Environment" by Kerninghan and Pike |
|
158 </p> |
|
159 </li> |
|
160 </ol> |
|
161 </div> |
|
162 <p id="ch8ult_module_plan_9"> |
|
163 <span class="strong"> |
|
164 <strong> |
|
165 Initial Session Plan |
|
166 </strong> |
|
167 </span> |
|
168 </p> |
|
169 <p id="ch8ult_module_plan_a"> |
|
170 Session |
|
171 </p> |
|
172 <p id="ch8ult_module_plan_b"> |
|
173 Topic |
|
174 </p> |
|
175 <p id="ch8ult_module_plan_c"> |
|
176 Duration |
|
177 </p> |
|
178 <p id="ch8ult_module_plan_d"> |
|
179 1 |
|
180 </p> |
|
181 <p id="ch8ult_module_plan_e"> |
|
182 Introduction to the Course |
|
183 </p> |
|
184 <p id="ch8ult_module_plan_f"> |
|
185 Historical background and |
|
186 implications. Why Unix? |
|
187 </p> |
|
188 <p id="ch8ult_module_plan_10"> |
|
189 Getting startedlogging in; |
|
190 <span class="emphasis"> |
|
191 <em> |
|
192 ls, |
|
193 date, who, cd, mkdir |
|
194 </em> |
|
195 </span> |
|
196 </p> |
|
197 <p id="ch8ult_module_plan_11"> |
|
198 Getting help: |
|
199 <span class="emphasis"> |
|
200 <em> |
|
201 apropos, man, |
|
202 info |
|
203 </em> |
|
204 </span> |
|
205 </p> |
|
206 <p id="ch8ult_module_plan_12"> |
|
207 Basic file handling: |
|
208 <span class="emphasis"> |
|
209 <em> |
|
210 cp, mv, |
|
211 rm |
|
212 </em> |
|
213 </span> |
|
214 </p> |
|
215 <p id="ch8ult_module_plan_13"> |
|
216 First session buffer |
|
217 </p> |
|
218 <p id="ch8ult_module_plan_14"> |
|
219 5 mt |
|
220 </p> |
|
221 <p id="ch8ult_module_plan_15"> |
|
222 10 mts |
|
223 </p> |
|
224 <p id="ch8ult_module_plan_16"> |
|
225 10 mts |
|
226 </p> |
|
227 <p id="ch8ult_module_plan_17"> |
|
228 10 mts |
|
229 </p> |
|
230 <p id="ch8ult_module_plan_18"> |
|
231 10 mts |
|
232 </p> |
|
233 <p id="ch8ult_module_plan_19"> |
|
234 5 mts |
|
235 </p> |
|
236 <p id="ch8ult_module_plan_1a"> |
|
237 2 |
|
238 </p> |
|
239 <p id="ch8ult_module_plan_1b"> |
|
240 Command line arguments |
|
241 </p> |
|
242 <p id="ch8ult_module_plan_1c"> |
|
243 Basic text processing: |
|
244 <span class="emphasis"> |
|
245 <em> |
|
246 head, |
|
247 tail, cut, paste |
|
248 </em> |
|
249 </span> |
|
250 </p> |
|
251 <p id="ch8ult_module_plan_1d"> |
|
252 Shell meta characters |
|
253 </p> |
|
254 <p id="ch8ult_module_plan_1e"> |
|
255 Looking at files: |
|
256 <span class="emphasis"> |
|
257 <em> |
|
258 cat, less |
|
259 </em> |
|
260 </span> |
|
261 </p> |
|
262 <p id="ch8ult_module_plan_1f"> |
|
263 Directory structure: |
|
264 <span class="emphasis"> |
|
265 <em> |
|
266 man hier, |
|
267 ls -l |
|
268 </em> |
|
269 </span> |
|
270 </p> |
|
271 <p id="ch8ult_module_plan_20"> |
|
272 Permissions and ownership, |
|
273 <span class="emphasis"> |
|
274 <em> |
|
275 chmod, chown |
|
276 </em> |
|
277 </span> |
|
278 </p> |
|
279 <p id="ch8ult_module_plan_21"> |
|
280 5 mts |
|
281 </p> |
|
282 <p id="ch8ult_module_plan_22"> |
|
283 15 mts |
|
284 </p> |
|
285 <p id="ch8ult_module_plan_23"> |
|
286 10 mts |
|
287 </p> |
|
288 <p id="ch8ult_module_plan_24"> |
|
289 5 mts |
|
290 </p> |
|
291 <p id="ch8ult_module_plan_25"> |
|
292 5 mts |
|
293 </p> |
|
294 <p id="ch8ult_module_plan_26"> |
|
295 10 mts |
|
296 </p> |
|
297 <p id="ch8ult_module_plan_27"> |
|
298 3 |
|
299 </p> |
|
300 <p id="ch8ult_module_plan_28"> |
|
301 Redirection and Piping |
|
302 </p> |
|
303 <p id="ch8ult_module_plan_29"> |
|
304 More text processing: |
|
305 <span class="emphasis"> |
|
306 <em> |
|
307 grep, tr |
|
308 </em> |
|
309 </span> |
|
310 </p> |
|
311 <p id="ch8ult_module_plan_2a"> |
|
312 Elementary regex: . ? * ^ $ [ ] |
|
313 </p> |
|
314 <p id="ch8ult_module_plan_2b"> |
|
315 One liners: show lines n to m, |
|
316 show directories |
|
317 </p> |
|
318 <p id="ch8ult_module_plan_2c"> |
|
319 10 mts |
|
320 </p> |
|
321 <p id="ch8ult_module_plan_2d"> |
|
322 10 mts |
|
323 </p> |
|
324 <p id="ch8ult_module_plan_2e"> |
|
325 15 mts |
|
326 </p> |
|
327 <p id="ch8ult_module_plan_2f"> |
|
328 15 mts |
|
329 </p> |
|
330 <p id="ch8ult_module_plan_30"> |
|
331 4 |
|
332 </p> |
|
333 <p id="ch8ult_module_plan_31"> |
|
334 More text processing: |
|
335 <span class="emphasis"> |
|
336 <em> |
|
337 join, |
|
338 sprt, uniq |
|
339 </em> |
|
340 </span> |
|
341 </p> |
|
342 <p id="ch8ult_module_plan_32"> |
|
343 Generating a word frequency list |
|
344 </p> |
|
345 <p id="ch8ult_module_plan_33"> |
|
346 Basic editing and editors : vim, |
|
347 scite |
|
348 </p> |
|
349 <p id="ch8ult_module_plan_34"> |
|
350 Personalising your environment: |
|
351 <span class="emphasis"> |
|
352 <em> |
|
353 .bashrc, .vimrc |
|
354 </em> |
|
355 </span> |
|
356 </p> |
|
357 <p id="ch8ult_module_plan_35"> |
|
358 Subshells and |
|
359 <span class="emphasis"> |
|
360 <em> |
|
361 source~ |
|
362 </em> |
|
363 </span> |
|
364 </p> |
|
365 <p id="ch8ult_module_plan_36"> |
|
366 10 mts |
|
367 </p> |
|
368 <p id="ch8ult_module_plan_37"> |
|
369 10 mts |
|
370 </p> |
|
371 <p id="ch8ult_module_plan_38"> |
|
372 10 mts |
|
373 </p> |
|
374 <p id="ch8ult_module_plan_39"> |
|
375 10 mts |
|
376 </p> |
|
377 <p id="ch8ult_module_plan_3a"> |
|
378 10 mts |
|
379 </p> |
|
380 <p id="ch8ult_module_plan_3b"> |
|
381 5 |
|
382 </p> |
|
383 <p id="ch8ult_module_plan_3c"> |
|
384 More tools: |
|
385 <span class="emphasis"> |
|
386 <em> |
|
387 tar, zip, diff, |
|
388 cmp, comm |
|
389 </em> |
|
390 </span> |
|
391 </p> |
|
392 <p id="ch8ult_module_plan_3d"> |
|
393 Environment variables, |
|
394 <span class="emphasis"> |
|
395 <em> |
|
396 set |
|
397 </em> |
|
398 </span> |
|
399 </p> |
|
400 <p id="ch8ult_module_plan_3e"> |
|
401 Writing simple shell scripts |
|
402 </p> |
|
403 <p id="ch8ult_module_plan_3f"> |
|
404 25 mts |
|
405 </p> |
|
406 <p id="ch8ult_module_plan_40"> |
|
407 10 mts |
|
408 </p> |
|
409 <p id="ch8ult_module_plan_41"> |
|
410 15 mts |
|
411 </p> |
|
412 <p id="ch8ult_module_plan_42"> |
|
413 6 |
|
414 </p> |
|
415 <p id="ch8ult_module_plan_43"> |
|
416 Control structures and |
|
417 operators in bash |
|
418 </p> |
|
419 <p id="ch8ult_module_plan_44"> |
|
420 Writing shell scripts |
|
421 </p> |
|
422 <p id="ch8ult_module_plan_45"> |
|
423 20 mts |
|
424 </p> |
|
425 <p id="ch8ult_module_plan_46"> |
|
426 30 mts |
|
427 </p> |
|
428 <p id="ch8ult_module_plan_47"> |
|
429 7 |
|
430 </p> |
|
431 <p id="ch8ult_module_plan_48"> |
|
432 Functions in bash scripts |
|
433 </p> |
|
434 <p id="ch8ult_module_plan_49"> |
|
435 Assessment Test |
|
436 </p> |
|
437 <p id="ch8ult_module_plan_4a"> |
|
438 20 mts |
|
439 </p> |
|
440 <p id="ch8ult_module_plan_4b"> |
|
441 30 mts |
|
442 </p> |
|
443 <p id="ch8ult_module_plan_4c"> |
|
444 <span class="emphasis"> |
|
445 <em> |
|
446 total session time = 350 mts |
|
447 </em> |
|
448 </span> |
|
449 </p> |
|
450 <p id="ch8ult_module_plan_4d"> |
|
451 <span class="emphasis"> |
|
452 <em> |
|
453 buffer time = 10 mts |
|
454 </em> |
|
455 </span> |
|
456 </p> |
|
457 </div> |
46 </div> |
458 </div> |
47 </div> |
459 </div> |
48 </body> |
460 </body> |
49 </html> |
461 </html> |