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

38.2%United States United States
21.2%China China
19.1%Canada Canada
8.5%Russian Federation Russian Federation
6.3%Malaysia Malaysia
2.1%United Kingdom United Kingdom
2.1%France France
2.1%Germany Germany

Yesterday: 1
This Week: 1
Last Week: 6
This Month: 12
Last Month: 9
Total: 50085

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