Homepage | Courses | Autoamtion | Shell Scripting  
Who we are…what do we do…how we do it  
and more...  
 
 



 
 

Courses

 
AUTOMATION

Shell Scripting
 

Course Description
This course introduces shell scripting in the Bourne Again Shell (BASH) for automating tasks. Shell scripting course is more important to learn for System Administrator and Data Base Administrator. It is an added advantage of their carrier.It explains how to use the shell scripting language to write quick and powerful scripts to take advantage of system administration capabilities and issue shell commands.

Goals
Learning shell scripting is an added advantage for system administrator and Data base administrator. You will gain a skills writing a script and automating day to day jobs in large data repository world.

Prerequisites

  1. Strong Linux Commands Knowledge
  2. Operating System Functions -  Linux machine

Duration:  6 Days Course

Contents

Module 1: Introduction

  • Introduction to shell scripts
  • What is a shell script?
  • Execution a script
  • Different types of shells

Module 2: UNIX Shell Features

  • Invoking a Shell
  • Command line expansion
  • Command Arguments
  • Meta-characters
  • Quotation marks
  • Redirection
  • File descriptors
  • Redirection, Pipes, Tee
  • Defining Exporting and Environment variables
  • Command grouping
  • Conditional execution

Module 3: Basic Shell Scripts

  • Positional and Automatic Parameters Set
  • Reading input and Writing to standard output
  • Display attributes
  • Interactive Shell scripts

Module 4: Variables

  • Introduction to Variables
  • Displaying and using variables
  • Concatenation and sub-strings
  • Other sources of data for variables

Module 5: User input

  • Reading user input
  • Positional parameters
  • Creating positional parameters
  • Conditional substitution
  • External influences

Module 6: Designing program output

  • Variable attributes
  • Formatted data
  • Terminal echo

Module 7: Shell arithmetic

  • Creating Integer Variables
  • Using arithmetic operators and data

Module 8: Branching and logic testing

  • Logic testing
  • Conditional operators
  • Multi-way branching
  • The 'case' statement

Module 9: Shell Expressions and patterns

  • Basic expressions
  • Introduction of Pattern
  • Different types of patterns
  • Pattern combinations
  • More complex patterns

Module 10: Looping

  • The 'while' loop
  • The 'until' loop
  • The 'for' loop
  • Breaking out of a loop and continuing
  • The 'select' loop

Module 11: The 'getopts' Command

  • Processing arguments
  • The getopts and OPTARG variable
  • The OPTIND variable

Module 12: Array variables

  • Substituting and counting
  • Using integer variables as element numbers

Module 13: Functions and libraries

  • Displaying current shell functions
  • Declaring and using functions
  • Variable scope
  • Function libraries and recursion

Module 14:Different types of Files

  • Regular Files
  • Directory Files
  • Device Files

Module 15:Managing input and output

  • File descriptors
  • Reading / writing using file descriptors
  • Redirecting, parameter lists

Module 16:File Permissions

  • chmod command
  • chowncommand
  • chgrp command
  • Umask command

Module 17:Traps, Signals and Script Control

  • Common signals
  • nice And renice commands
  • Running Scripts in Background Mode
  • Scheduling script and other jobs
  • Starting the Script at Boot Time
  • The trap and stty commands
  • Job Control

Module 18:Regular expressions

  • Regular expressions
  • Meta-characters
  • Using Character Classes
  • The grep command
  • Extended Regular Expressions
  • Counting Directory Files with Regexp
  • Validating a Phone Number
  • Parsing an Email Address

Module 19:Meta/Wild Card-characters

  • Class, Anchors
  • Repetition, Alteration
  • Group, Dot

Module 20:'awk' introduction

  • Record processing
  • Pattern matching
  • Relational expressions
  • 'awk' variables

Module 21:Variables, strings and arithmetic operations

  • Environment variables
  • Arithmetic operations
  • String manipulation
  • Formatted output
  • Command line arguments

Module 22:Stream editing with 'sed'

  • Substituting text
  • Deleting and printing lines
  • Reading and writing files
  • Multiple 'sed' editor functions

Module 23:Writing Script Utilities

  • CGI Scripts for Web
  • Sending Mails from scripts
  • Performing Backups
  • Managing User Accounts

Module 24:System startup and Shutdown

  • Init, halt, shutdown
  • Different Run levels
  • Different date formats

Module 25:Advanced Scripting

  • Debugging
  • Default Values for Variables
  • Temporary Files
  • Preventing Abnormal Termination
 

 


 

 
 
HOME    COMPANY    SERVICES    CAREERS     CONTACT US
Copyright © 2006-2012 Transform IT. All Rights Reserved.
Terms of Use | Designed by Transform IT User Experience Practice
Connect With Us