Size: 3669
Comment:
|
← Revision 23 as of 2010-06-21 22:06:22 ⇥
Size: 2489
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
U</div><div id="ult_module_plan" class="chapter"><div class="titlepage"></div><div class="toc"> '''Table of Contents''' ; <span class="section">[#id2726065 1.1. Module Objectives]</span> ; <span class="section">[#id2766268 1.2. Suggested Reading]</span> ; <span class="section">[#id2726557 1.3. Changes Made]</span></div><div class="section" title="1.1. Module Objectives"><div class="titlepage"><div><div> ==1.1. Module Objectives== </div></div></div> |
== Module 1: Using Linux Tools == == Module Objectives == |
Line 9: | Line 4: |
<div class="itemizedlist"> * Understand the design philosophy of *nix {U} * Use Linux as their day-to-day operating system {Ap} * Use the text processing tools such as 'grep', 'tr' {Ap} * Write and execute (bash) shell scripts {Ap} * Use a text editor comfortably {Ap} </div></div><div class="section" title="1.2. Suggested Reading"><div class="titlepage"><div><div> ==1.2. Suggested Reading== </div></div></div><div class="orderedlist"> # "In the beginning..." by Neal Stephenson # "The Unix Programming Environment" by Kerninghan and Pike </div><span class="strong">'''Initial Session Plan'''</span><div class="informaltable"> {| border="1" |- ! Session ! Topic ! Duration |- | 1 | Introduction to the Course What is Linux ? Foss Philosophy? Basic File Handling : cp , mv rm Getting help: apropos, man, info*,Flags First session buffer | 10 mts 10 mts 10 mts 5 mts |- | <div class="orderedlist"> # </div> | Basic text processing: <span class="emphasis">''head, tail''</span> Shell meta characters Looking at files: <span class="emphasis">''cat, less''</span> Permissions and ownership, <span class="emphasis">''chmod, chown''</span> Installing packages on linux Linux File Heirarchy <div class="blockquote"><blockquote class="blockquote"> Buffer time </blockquote></div> | 5 mts 5 mts 5 mts 10 mts 5 mts 10 mts 5 mts |- | 3 | Redirection and Piping More text processing:<span class="emphasis">''grep, tr''</span> Buffer time | 5 mts 15 mts <div class="blockquote"><blockquote class="blockquote"> 5 mts </blockquote></div> |- | 4 | More tools: <span class="emphasis">''tar, zip, diff''</span> Environment variables, <span class="emphasis">''set''</span> Writing simple shell scripts | 10 mts 10 mts 15 mts |- | 5 | Control structures and operators in bash Writing shell scripts/functions in scripts | 20 mts 20 mts |} </div><span class="emphasis">''total session time = 165 mts''</span><span class="emphasis">''buffer time = 15 mts''</span></div><div class="section" title="1.3. Changes Made"><div class="titlepage"><div><div> ==1.3. Changes Made== </div></div></div><div class="blockquote"><blockquote class="blockquote"> Added : </blockquote></div><div class="itemizedlist"> * Linux overview - The Three Metaphors -Files , Process and Users . * * Process - A very Brief Intro .* </div> Deleted : * One liners * * Assessment Test * References : Introduction? Foss Philosophy? http://en.wikibooks.org/wiki/Linux_Guide/Introduction No discussions about X All commands : http://en.wikibooks.org/wiki/Linux_Guide/Linux_commands grep: http://www.robelle.com/smugbook/regexpr.html Text Processing and shell scripting: http://tldp.org/LDP/abs/html/textproc.html#WF (Has some good problems for Lab Notebook) Lab Notebook: <span class="emphasis">''Looking up definitions in Webster's 1913 Dictionary''</span> http://tldp.org/LDP/abs/html/textproc.html#WF </div>< |
* '''U ''' Understand the design philosophy of *nix * '''Ap''' Use Linux as their day-to-day operating system * '''Ap''' Use the text processing tools such as 'grep', 'tr' * '''Ap''' Write and execute (bash) shell scripts * '''Ap''' Use a text editor comfortably == Suggested Reading == "In the beginning there was the command line" by Neal Stephenson [http://www.cryptonomicon.com/beginning.html] "The Unix Programming Environment" by Kerninghan and Pike "Introduction? Foss Philosophy?" [http://en.wikibooks.org/wiki/Linux_Guide/Introduction http://en.wikibooks.org/wiki/Linux_Guide/Introduction] "Linux Commands" [http://en.wikibooks.org/wiki/Linux_Guide/Linux_commands] "grep and regex" [http://www.robelle.com/smugbook/regexpr.html http://www.robelle.com/smugbook/regexpr.html] "Text Processing and shell scripting" [http://tldp.org/LDP/abs/html/textproc.html#WF http://tldp.org/LDP/abs/html/textproc.html#WF](Has some good problems for Lab Notebook) "Shell scripting and Text Processing Problems" [http://tldp.org/LDP/abs/html/textproc.html#WF] ||||||<tablewidth="80%"style="text-align: center;">'''Module Plan''' || ||Topic ||Duration ||LAB work || ||What is Linux? FOSS Philosophy? ||10 mts ||<style="text-align: vertical;"|6>1.Creating files:<<BR>>2.Explore meta characters <<BR>>3. Read Man pages and fire commads with flags|| ||First steps: pwd, ls, mkdir ||10 mts || ||Getting help: apropos, man, info ||10 mts || ||Basic File Handling: cp, mv, rm ||10 mts || ||Linux File Heirarchy, man hier ||05 mts || ||Permissions and ownership, chmod, chown ||05 mts || || || || || ||Looking at files: cat, less ||05 mts ||<style="text-align: vertical;" |5>1.Data Analysis one liners <<BR>> Given Census data find distribution of occupants per household|| ||Basic text processing: head, tail, cut, paste ||15 mts || ||Redirection and Piping ||10 mts || ||More text processing: grep, tr, sort, uniq ||15 mts || ||Writing one-liner pipes ||05 mts || || || || || ||Writing simple shell scripts ||10 mts ||<style="text-align: vertical;" |5>1.Complex Data Analysis <<BR>> Finding From lines of all the mails|| ||Command line parameters ||05 mts || ||Control structures and operators in bash ||20 mts || ||Environment variables: set ||05 mts || ||Misc tools: tar, zip, cmp, diff, comm ||10 mts || |
Module 1: Using Linux Tools
Module Objectives
After successfully completing this module a participant will be able to:
U Understand the design philosophy of *nix
Ap Use Linux as their day-to-day operating system
Ap Use the text processing tools such as 'grep', 'tr'
Ap Write and execute (bash) shell scripts
Ap Use a text editor comfortably
Suggested Reading
"In the beginning there was the command line" by Neal Stephenson [http://www.cryptonomicon.com/beginning.html]
"The Unix Programming Environment" by Kerninghan and Pike
"Introduction? Foss Philosophy?" [http://en.wikibooks.org/wiki/Linux_Guide/Introduction http://en.wikibooks.org/wiki/Linux_Guide/Introduction]
"Linux Commands" [http://en.wikibooks.org/wiki/Linux_Guide/Linux_commands]
"grep and regex" [http://www.robelle.com/smugbook/regexpr.html http://www.robelle.com/smugbook/regexpr.html]
"Text Processing and shell scripting" [http://tldp.org/LDP/abs/html/textproc.html#WF http://tldp.org/LDP/abs/html/textproc.html#WF](Has some good problems for Lab Notebook)
"Shell scripting and Text Processing Problems" [http://tldp.org/LDP/abs/html/textproc.html#WF]
Module Plan |
||
Topic |
Duration |
LAB work |
What is Linux? FOSS Philosophy? |
10 mts |
1.Creating files: |
First steps: pwd, ls, mkdir |
10 mts |
|
Getting help: apropos, man, info |
10 mts |
|
Basic File Handling: cp, mv, rm |
10 mts |
|
Linux File Heirarchy, man hier |
05 mts |
|
Permissions and ownership, chmod, chown |
05 mts |
|
|
|
|
Looking at files: cat, less |
05 mts |
1.Data Analysis one liners |
Basic text processing: head, tail, cut, paste |
15 mts |
|
Redirection and Piping |
10 mts |
|
More text processing: grep, tr, sort, uniq |
15 mts |
|
Writing one-liner pipes |
05 mts |
|
|
|
|
Writing simple shell scripts |
10 mts |
1.Complex Data Analysis |
Command line parameters |
05 mts |
|
Control structures and operators in bash |
20 mts |
|
Environment variables: set |
05 mts |
|
Misc tools: tar, zip, cmp, diff, comm |
10 mts |