author | Kadambari Devarajan <kadambarid@fossee.in> |
Sun, 23 Aug 2009 01:22:44 +0530 | |
changeset 21 | 873afb14bc6e |
parent 19 | 0fd0dcd7ba77 |
child 23 | 93d82914b62c |
permissions | -rw-r--r-- |
10 | 1 |
Module 1: Using Linux Tools |
2 |
================= |
|
3 |
||
4 |
Module Objectives |
|
5 |
---------------------- |
|
6 |
||
7 |
After successfully completing this module a participant will be able to: |
|
8 |
||
19 | 9 |
* Understand the design philosophy of *nix {U} |
10 |
* Use Linux as their day-to-day operating system {Ap} |
|
11 |
* Use the text processing tools such as 'grep', 'tr' {Ap} |
|
12 |
* Write and execute (bash) shell scripts {Ap} |
|
13 |
* Use a text editor comfortably {Ap} |
|
10 | 14 |
|
15 |
Suggested Reading |
|
16 |
----------------------- |
|
17 |
||
18 |
(1) "In the beginning..." by Neal Stephenson |
|
19 |
(2) "The Unix Programming Environment" by Kerninghan and Pike |
|
20 |
||
21
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
21 |
**Initial Session Plan** |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
22 |
|
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
23 |
+---------+---------------------------------+---------+ |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
24 |
| Session | Topic | Duration| |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
25 |
+=========+=================================+=========+ |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
26 |
| 1 | Introduction to Course | 5 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
27 |
| | | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
28 |
| | Historical background and | 10 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
29 |
| | implications. Why Unix? | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
30 |
| | | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
31 |
| | Getting started–logging in; ls, | 10 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
32 |
| | date, who, cd, mkdir | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
33 |
| | | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
34 |
| | Getting help: apropos, man, info| 10 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
35 |
| | | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
36 |
| | Basic file handling: cp, mv, rm | 10 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
37 |
| | | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
38 |
| |First session buffer | 5 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
39 |
+---------+---------------------------------+---------+ |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
40 |
| 2 | Command line arguments | 5 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
41 |
| | | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
42 |
| | Basic text processing: head, | 15 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
43 |
| | tail, cut, paste | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
44 |
| | | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
45 |
| | Shell meta characters | 10 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
46 |
| | | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
47 |
+---------+---------------------------------+---------+ |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
48 |
| 3 | Learning the Lingo | 5 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
49 |
+---------+---------------------------------+---------+ |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
50 |
| 4 | Let there be Repository... | 15 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
51 |
| | - Creating Repositpry. | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
52 |
| | - Cloning existing Repo. | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
53 |
| | - Branches concept | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
54 |
+---------+---------------------------------+---------+ |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
55 |
| 5 | Navigating through history logs | 5 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
56 |
+---------+---------------------------------+---------+ |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
57 |
| 6 | Making changes in local branch | 15 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
58 |
| | - add | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
59 |
| | - cp | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
60 |
| | - rename | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
61 |
| | - rm | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
62 |
+---------+---------------------------------+---------+ |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
63 |
| 7 | Sharing the changes | 10 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
64 |
| | - status | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
65 |
| | - pull | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
66 |
| | - update | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
67 |
+---------+---------------------------------+---------+ |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
68 |
| 8 | Merging the changes | 20 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
69 |
| | - commit | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
70 |
| | - glog | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
71 |
| | - push | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
72 |
| | - merge | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
73 |
+---------+---------------------------------+---------+ |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
74 |
| 9 | Handling conflicts during merge | 20 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
75 |
+---------+---------------------------------+---------+ |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
76 |
| 10 | Exporting the changes: getting | | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
77 |
| | patch, diff | 10 mts | |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
78 |
+---------+---------------------------------+---------+ |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
79 |
|
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
80 |
*total session time = 110 mts* |
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
81 |
|
873afb14bc6e
Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents:
19
diff
changeset
|
82 |
*buffer time = 10 mts* |