ult/ult_module_plan.rst
author amit
Tue, 07 Sep 2010 11:03:27 +0530
changeset 123 7a16c80c584d
parent 24 5bb3795dfc37
permissions -rw-r--r--
Merging all the changes made bu madhu and punch
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
     1
Module 1: Using Linux Tools
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
     2
============================
10
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
     3
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
     4
Module Objectives
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
     5
----------------------
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
     6
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
     7
After successfully completing this module a participant will be able to:
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
     8
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
     9
* Understand the design philosophy of \*nix          	   	{U}
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    10
* Use Linux as their day-to-day operating system       		{Ap}
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    11
* Use the text processing tools such as 'grep', 'tr'   		{Ap}
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    12
* Write and execute (bash) shell scripts               		{Ap}
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    13
* Use a text editor comfortably	                       		{Ap}
10
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
    14
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
    15
Suggested Reading
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
    16
-----------------------
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
    17
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
    18
(1) "In the beginning..." by Neal Stephenson
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
    19
(2) "The Unix Programming Environment" by Kerninghan and Pike
90539b914107 Objectives etc.
Kadambari Devarajan <kadambarid@fossee.in>
parents:
diff changeset
    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
+=========+=================================+=========+
24
5bb3795dfc37 Introduction, added session 1
Kadambari Devarajan <kadambarid@fossee.in>
parents: 23
diff changeset
    26
| 1	  | Introduction to the Course      |  5 mt   |
21
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    27
|         |                                 |         |
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    28
|         | Historical background and       |  10 mts |
21
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
|         |                                 |         |
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    31
|         | Getting started–logging in; *ls,|  10 mts |  
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    32
|         | date, who, cd, mkdir*           |         |
21
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    33
|         |                                 |         |
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    34
|         | Getting help: *apropos, man,    |  10 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    35
|         | info*                           |         |
21
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    36
|         |                                 |         | 
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    37
|         | Basic file handling: *cp, mv,   |  10 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    38
|         | rm*                             |         | 
21
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    39
|         |                                 |         |
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    40
|         | First session buffer            |  5 mts  |
21
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
| 2	  | Command line arguments          |  5 mts  |
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    43
|         |                                 |         |
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    44
|	  | Basic text processing: *head,   |  15 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    45
|	  | tail, cut, paste*               |	      |
21
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
|         | Shell meta characters           |  10 mts |
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    48
|         |                                 |         |
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    49
|         | Looking at files: *cat, less*   |  5 mts  |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    50
|         |                                 |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    51
|         | Directory structure: *man hier, |  5 mts  |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    52
|         | ls -l*                          |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    53
|         |                                 |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    54
|         | Permissions and ownership,      |  10 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    55
|         | *chmod, chown*                  |         |
21
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    56
+---------+---------------------------------+---------+
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    57
| 3	  | Redirection and Piping          |  10 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    58
|         |                                 |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    59
|         | More text processing:*grep, tr* |  10 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    60
|         |                                 |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    61
|         | Elementary regex: . ? * ^ $ [ ] |  15 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    62
|         |                                 |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    63
|         | One liners: show lines n to m,  |  15 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    64
|         | show directories                |         |
21
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    65
+---------+---------------------------------+---------+
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    66
| 4       | More text processing: *join,    |  10 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    67
|	  | sprt, uniq* 		    |	      |     		
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    68
|         |                                 |         |		
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    69
|	  | Generating a word frequency list|  10 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    70
|         |                                 |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    71
|         | Basic editing and editors : vim,|  10 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    72
|         | scite                           |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    73
|         |                                 |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    74
|         | Personalising your environment: |  10 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    75
|         | *.bashrc, .vimrc*               |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    76
|         |                                 |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    77
|         | Subshells and *source~*         |  10 mts |
21
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    78
+---------+---------------------------------+---------+
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    79
| 5	  | More tools: *tar, zip, diff,    |  25 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    80
|         | cmp, comm*                      |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    81
|         |                                 |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    82
|         | Environment variables, *set*    |  10 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    83
|         |                                 |         |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    84
|         | Writing simple shell scripts    |  15 mts |
21
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    85
+---------+---------------------------------+---------+
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    86
| 6	  | Control structures and          |  20 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    87
|	  | operators in bash  		    |	      |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    88
|	  |				    |	      |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    89
|	  | Writing shell scripts	    |  30 mts |  		
21
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    90
+---------+---------------------------------+---------+
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    91
| 7	  | Functions in bash scripts	    |  20 mts |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    92
|	  | 	         		    |	      |
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    93
|	  | Assessment Test		    |  30 mts |
21
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    94
+---------+---------------------------------+---------+
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    95
23
93d82914b62c Objectives, session plan etc. for ULT
Kadambari Devarajan <kadambarid@fossee.in>
parents: 21
diff changeset
    96
*total session time = 350 mts*
21
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    97
873afb14bc6e Added session plan
Kadambari Devarajan <kadambarid@fossee.in>
parents: 19
diff changeset
    98
*buffer time = 10 mts*