Module 1: Using Linux Tools

Module Objectives

After successfully completing this module a participant will be able to:

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

Module Plan

Topic

Duration

What is Linux? FOSS Philosophy?

10 mts

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

Shell meta characters

Lab

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

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]