Differences between revisions 3 and 18 (spanning 15 versions)
Revision 3 as of 2010-06-03 20:38:26
Size: 2554
Editor: 115
Comment:
Revision 18 as of 2010-06-05 09:54:05
Size: 2504
Editor: 203
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 4: Line 3:
Line 7: Line 5:
 * Understand the design philosophy of *nix                     {U}  * '''U ''' Understand the design philosophy of *nix
Line 9: Line 7:
 * Use Linux as their day-to-day operating system                {Ap}  * '''Ap''' Use Linux as their day-to-day operating system
Line 11: Line 9:
 * Use the text processing tools such as 'grep', 'tr'            {Ap}  * '''Ap''' Use the text processing tools such as 'grep', 'tr'
Line 13: Line 11:
 * Write and execute (bash) shell scripts                        {Ap}  * '''Ap''' Write and execute (bash) shell scripts
Line 15: Line 13:
 * Use a text editor comfortably                                 {Ap}

 * '''Ap''' Use a text editor comfortably
Line 20: Line 16:

"In the beginning..." by Neal Stephenson
"In the beginning there was the command line" by Neal Stephenson [http://www.cryptonomicon.com/beginning.html]
Line 25: Line 20:
Initial Session Plan "Introduction? Foss Philosophy?" [http://en.wikibooks.org/wiki/Linux_Guide/Introduction http://en.wikibooks.org/wiki/Linux_Guide/Introduction]
Line 27: Line 22:
Session "Linux Commands" [http://en.wikibooks.org/wiki/Linux_Guide/Linux_commands]
Line 29: Line 24:
Topic "grep and regex" [http://www.robelle.com/smugbook/regexpr.html http://www.robelle.com/smugbook/regexpr.html]
Line 31: Line 26:
Duration "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)
Line 33: Line 28:
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

Basic text processing: *head, tail*

Shell meta characters

Looking at files: *cat, less*

Permissions and ownership, *chmod, chown*

Installing packages on linux

Linux File Heirarchy

Buffer time

5 mts

5 mts

5 mts

10 mts

5 mts

10 mts

5 mts

3

Redirection and Piping

More text processing:*grep, tr*

Buffer time

5 mts

15 mts

5 mts

4

More tools: *tar, zip, diff*

Environment variables, *set*

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

*total session time = 165 mts*

*buffer time = 15 mts*

== Changes Made ==

Added :

 * Linux overview - The Three Metaphors -Files , Process and Users . *

 * Process - A very Brief Intro .*
"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 ||
Line 132: Line 33:

Deleted : * One liners * * Assessment Test *

References :

Introduction? Foss Philosophy? [http://en.wikibooks.org/wiki/Linux_Guide/Introduction http://en.wikibooks.org/wiki/Linux_Guide/Introduction] No discussions about X

All commands : [http://en.wikibooks.org/wiki/Linux_Guide/Linux_commands http://en.wikibooks.org/wiki/Linux_Guide/Linux_commands]

grep: [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)

Lab Notebook: *Looking up definitions in Webster's 1913 Dictionary*[http://tldp.org/LDP/abs/html/textproc.html#WF http://tldp.org/LDP/abs/html/textproc.html#WF]
||What is Linux? FOSS Philosophy? ||10 mts ||<style="text-align: vertical;"|7>1. Use touch command to create the files: <<BR>>p.txt p1.txt p2.txt, p3.txt, pa.txt, pb.txt qq.txt, qc.txt <<BR>>2. Issue the commands ls p*, ls p?, ls p[0-9].txt ls [pq][a-z].txt <<BR>>3. Read the man pages for shell metacharacters and figure out what ?, <<BR>>* and [] do. ||
||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: center;" |5> ||
||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: center;" |5> ||
||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. Use touch command to create the files:
p.txt p1.txt p2.txt, p3.txt, pa.txt, pb.txt qq.txt, qc.txt
2. Issue the commands ls p*, ls p?, ls p[0-9].txt ls [pq][a-z].txt
3. Read the man pages for shell metacharacters and figure out what ?,
* and [] do.

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

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

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

ult_module_plan (last edited 2010-06-21 22:06:22 by 203)