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 ----------------- (1) "In the beginning..." by Neal Stephenson (2) "The Unix Programming Environment" by Kerninghan and Pike **Initial Session Plan** +---------+----------------------------------------------+----------+ | Session | Topic | Duration | +---------+----------------------------------------------+----------+ | 1 | What is Linux? FOSS Philosophy | 5 min | | | | | | | Getting Started | 15 min | | | - login | | | | - pwd | | | | - ls | | | | - mkdir | | | | - cd | | | | - touch | | | | | | | | Getting help | 10 min | | | - man | | | | - command line flags | | | | - apropos | | | | | | | | Basic File Handling | 10 min | | | - cp | | | | - mv | | | | - rm | | | | | | | | Linux File Hierarchy, permissions, ownership | 10 min | | | - hier | | | | - ls -l | | | | - chmod | | | | - chown | | | | | | +---------+----------------------------------------------+----------+ | 2 | Looking at files | 15 min | | | - cat | | | | - wc | | | | - less | | | | - head | | | | - tail | | | | - cut | | | | - paste | | | | | | | | Role of Command Shell | 20 min | | | - redirection and piping | | | | - stdin, stdout, stderr | | | | - tab-completion | | | | - history | | | | - meta characters | | | | | | | | Text Processing | 15 min | | | - sort | | | | - grep | | | | - tr | | | | - uniq | | | | | | +---------+----------------------------------------------+----------+ | 3 | Writing Simple Shell scripts | 10 min | | | - echo | | | | - command line parameters | | | | - PATH | | | | - chmod and execute permission | | | | | | | | Control structures and operators | 25 min | | | - test, [ ] | | | | - if, if-else | | | | - for | | | | - while | | | | - Environment variables | | | | | | | | Miscellaneous Tools | 15 min | | | - tar | | | | - cmp, diff | | | | - find | | | | - customizing your shell | | +---------+----------------------------------------------+----------+