EIEIOTECHNOVATION
← Training programmes

EIEIO / OPERATING SYSTEMS

Linux Shell Programming

Course outline

2 days

Duration

Linux Shell Programming

2 days

Overview

Automation greatly helps in improving overall productivity and quality during product development. There are various ways to perform automation but the most popular use in an engineering environment is shell scripts and Makefiles. While often used in software development, these capabilities can also be extended to other domains.

Course highlight

Participants will have practical experiences writing, verifying and debugging shell scripts and Makefiles.

What You Will Learn

This course concentrates on the theoretical and practical knowledge to allow participants to achieve the following learning outcomes. Upon completing the course, participants would be able to:

  • Access variables and system parameters from shell scripts
  • Use operators and control structures in shell scripts
  • Execute commands within shell scripts
  • Write shell scripts for automating tasks

Who Should Attend

This course is particularly suited for design engineers, hardware engineers, systems engineers, application engineers, software engineers and programmers who wish to learn how to use GNU Make to automate manual tasks.

Prerequisites

Participants must have some programming knowledge and basic command-line experience in using Linux/Unix.

Course Methodology

This course is presented in a workshop style with example-led lectures interlaced with hands-on practical for maximum understanding.

Course Outline

Introduction to Bourne Again Shell (bash)

  • The Shell and its features
  • Bash shell basics
  • Creating a shell script

Basic Data Handling

  • Variables and parameters
  • Processes
  • Arrays
  • Operations

Control Structures

  • Loops and branches
  • Command substitution
  • Functions
  • Arithmetic expansion

Commands

  • Internal commands (builtins)
  • External commmands.

Additional Bash

  • Here document
  • Regular expressions
  • I/O redirection
  • Process substitution
  • Debugging

Programme scope, delivery arrangements and suitability are confirmed during enquiry.