Search our courses
Training

During this Bash Shell Programming 4 Day Workshop intensive training students learn to read, write, and debug shell scripts, thus increasing productivity by taking full advantage of the BashShell. Approximately 70% of this course is spent on varied lab exercises from simple to more complex scripting.

Bash Shell Programming 4 Day Workshop

Course Code

GTU6

Duration

4 Days

Course Fee

POA

Accreditation

N/A

Target Audience

  • IT Professionals, Linux or UNIX users, programmers, and system administrators.

Attendee Requirements

  • The skills required for those who wish to attend this course is basic knowledge of Linux/Unix Fundamentals and Oracle Solaris Fundamentals, or equivalent training programmes.

If you have any questions or doubts as to whether you meet the pre-requisites for this course, or indeed are wondering which course best suits you, please contact us to discuss your suitability for course attendance.


We are sorry, there is currently no availability on this course.

contact us for more information

Ways to Attend this Course

  • In the Classroom
  • Private Training

Expand all

Course Description

During this Bash Shell Programming 4 Day Workshop intensive training students learn to read, write, and debug shell scripts, thus increasing productivity by taking full advantage of the BashShell. Approximately 70% of this course is spent on varied lab exercises from simple to more complex scripting.

Course Outline

1. Course Introduction

Course Objectives

Course Overview

Using the Workbook

Suggested References and Reading

2. UNIX Processes

What is a Process?

Process Structure

The ps Utility

Options to the ps Utility

Background Commands (&)

Killing Background Processes

Redirecting the Standard Error

3. Getting Started

What is a Shell?

Running Scripts

Specifying the Script’s Interpreter

The PATH Environment Variable

Sub-shells

4. Variables

Shell Variables

The read Command

The export Command

The Shell Environment

Parameter Expansion

Command Substitution

5. The Login Process

The Login Process

The System Profile Script

Your .bash_profile Script

The . Command

6. Conditional Statements

The Exit Status of Commands

Command Line Examples

The test Command

The if-then-else Construct

The elif Construct

case Statements

7. Loops

The for Loop

The while Loop

break and continue

Reading Lines From Files

Using Arrays with Loops

8. Special Variables

$$ – PID of Shell

Command-Line Arguments

$# – Number of Arguments

$* – All Arguments

The shift Command

The set Command

Getting Options

9. Quoting Mechanisms

Single vs. Double Quotes

What is a Here Document?

Using a Here Document

Here Document Quoting

Ignoring Leading Tabs

10. Functions

Shell Functions

Passing Arguments to Functions

Returning Values from Functions

Function Declarations

11. Advanced Programming

Shell Arithmetic

The select Statement

Terminal Independence in Scripts

The eval Command

12. Debugging Techniques

Using echo

Using Standard Error

Script Tracing

Options for Debugging

Conditional Debugging

Learning Path

There are a number of options of suitable follow-on courses, depending on your business needs. Please contact us for further details.

 

 

Ways to Attend
  • Attend a public course, if there is one available. Please check our schedule, or register your interest in joining a course in your area.
  • Private onsite Team training also available, please contact us to discuss. We can customise this course to suit your business requirements.

Sorry, we are not taking bookings on this course at present

If you would like to contact us for more information on this course, you may do so here:

Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

“Very interesting course from an excellent instructor. Highly technical and well delivered”

 

Introduction to Modern Security - GTJ50

Dec '17

“Super experience. The instructor spoke with great knowledge and experience. The materials will be invaluable in the real world”

 

Professional Cloud Service Manager Certification training- GTC13

Dec '17

“Very useful course, making complex topics more approachable and the instructor was very good at getting concepts across and engaging with delegates and our specific needs”

 

Optimising Java - GTJ47

Dec '17

“This was an excellent course and I found it very interesting and enjoyable.  The instructor was a font of knowledge on all aspects of Big Data and Analytics and was enthusiastic about sharing his knowledge”

 

Applied Data Science and Big Data Analytics - GTBD7

Nov '17

“The instructor was fantastic at explaining lessons with applicable work type examples.  He was enthusiastic with what he was teaching which made learning the course more enjoyable”

 

Linux Essentials Certification - GTU2

Oct '17

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
Upcoming Courses

Kubernetes Administration

19 - 22 Mar - LONDON

1 - 4 Apr - DUBLIN

This Kubernetes Administration Certification training course is suitable for anyone who wants to learn the skills necessary to build and administer a Kubernetes cluster

Learn More

CompTIA Network+ FastTrack

11 - 13 Mar

CORK

This fast-paced course teaches the essentials of networking and helps to prepare the student for the CompTIA Network+ certification.

Learn More

Cloud Service Manager

29 - 31 Jan

DUBLIN

ITIL in the Cloud certification training, accredited by the Cloud Credential Council

Learn More

Introduction to Python 3

11 - 13 Mar

DUBLIN

Python is a powerful and popular object-oriented programming/scripting language with many high quality libraries.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter