Training Calendar

Mon Tue Wed Thu Fri Sat Sun
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

psmb

Total Visitors


Yesterday: 10
This Week: 10
Last Week: 6
This Month: 21
Last Month: 185
Total: 46492

Linux Bash Shell Scripting

 

Course Overview

This four-day course is designed to give participants practical experience in developing and writing Bash shell scripts. Most of the built-in shell commands are introduced together with the main program control structures. The course also gives practical experience using a range of Linux tools to manipulate text and incorporate into Linux Bash shell scripts.

 

 

Prerequisites

Have an experience using Linux Operating System and have basic programming skills.

 

Who Should Attend

System / Network administrators & support people, programmers and prospective Linux power users, looking to harness the power of task automation through shell scripting.

 

Linux Bash Shell Scripting – Schedule

Day 1

09.00am – 10.00am

Bash & Bash Scripts

  • Bash Scripting Overview
  • Shell Programs & Command Executions
  • Shell Building Blocks
  • Developing Good Scripts
10.00am – 10.30am

Breakfast

10.30am – 12.45pm

Writing & Debugging Scripts

  • Creating & Running Scripts
  • Script Basics
  • Debugging Bash Scripts

 

The Bash Environment

  • Shell Initialization Files
  • Variables
  • Quoting Characters

12.45pm – 02.15pm

Lunch

02.15pm – 05.00pm

The Bash Environment (Continue)

  • Shell Expansion
  • Aliases
  • Bash Options

Day 2

09.00am – 10.00am

Regular Expressions

  • Regular Expressions
  • Using Grep
  • Pattern Matching using Bash Features

10.00am – 10.30am

Breakfast

10.30am – 12.45pm

GNU Sed Stream Editor

  • Sed Commands
  • Interactive Editing
  • Non-Interactive Editing

12.45pm – 02.15pm

Lunch

02.15pm – 05.00pm

GNU AWK Programming Languages

  • Gawk Commands
  • Print Program
  • Gawk Scripts and variables

Conditional Statements

  • If/then/elif/else Constructs
  • Nested if Statements
  • Boolean Operations
  • Using Case Statements

                                                                        Day 3

09.00am – 10.00am

Writing Interactive Scripts

  • Displaying User Message
  • Catching User Input

10.00am – 10.30am

Breakfast

10.30am – 12.45pm

Repetitive Tasks

  • The for loop
  • The while loop
  • The until Loop
  • I/O Redirection and Loops
  • Break and Continue
  • Making Menus with the Select Built-in
  • Shift Built-in

12.45pm – 02.15pm

Lunch

02.15pm – 05.00pm

More On Variables

  • Variables Types
  • Array Variables
  • Operation on Variables

Functions

  • Function Syntax
  • Functions in Scripts

Catching Signals

  • Signals
  • Traps