Module 1: Using Linux Tools
Module Objectives
After successfully completing this module a participant will be able to:
- 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}
Suggested Reading
"In the beginning..." by Neal Stephenson
"The Unix Programming Environment" by Kerninghan and Pike
Initial Session Plan
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
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 .*
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]