Course Linux Shell Scripting

  • Content
  • Training
  • Modules
  • General
  • Reviews
  • Certificate
  • Course Linux Shell Scripting : Content

    In the course Linux Shell Scripting participants learn to write shell scripts in a Linux environment. The participants learn to write scripts with script commands, special characters, regular expressions and I/O redirection. Central in the course is the Bash shell.

    Intro Shell Scripting

    The Linux Shell Scripting course starts with an explanation of the basic principles of shell scripts. Shell scripts are typically small programs that are executed by a command line interpreter. System administrators often use shell scripts for operations such as file manipulation, program execution and text printing.

    Executing Commands

    In the course it is explained how to run shell scripts with the exec and fork commands. Furthermore, the syntax of shell scripts is treated. And also the differences between the various shells such as the Bourne, C, Korn and Bash shell are reviewed.

    Bash Environment

    Special attention is paid to the Bash shell. The various profiles, the setting of local and global variables and the export of variables are discussed. And also command substitution and shell expansion are covered.

    Regular Expressions

    Then regular expressions, which are ideally suited for pattern matching, are treated. The syntax of regular expressions and the meaning of the various special characters is explained.

    sed and awk

    Attention is also paid to the sed batch editor and the awk report generator. The sed batch editor allows the creation and modification of a text file to be handled automatically.

    Control Flow

    Subsequently the Linux Shell Scripting course discusses control flow with conditionals and loops and reading and writing files. The participants also learn to process the input of users in scripts with command line parameters, options and redirection.


    Finally calling and writing functions, passing parameters and collecting return values ​​is on the course program.

  • Course Linux Shell Scripting : Training

    Audience Linux Shell Scripting Course

    The course Linux Shell Scripting is intended for administrators, developers and testers who want to learn how to write and understand shell scripts in a Linux environment.

    Prerequisites Course Linux Shell Scripting

    To participate in this course general knowledge of computers and operating systems is required. Programming experience is beneficial for a good understanding.

    Realization Training Linux Shell Scripting

    The theory is treated on the basis of presentations. The concepts are illustrated with demos. The theory is interspersed with exercises. The course times are from 9.30 to 16.30.

    Certification course Linux Shell Scripting

    The participants receive an official certificate Linux Shell Scripting after successful completion of the course.

    Course Linux Shell Scripting
  • Course Linux Shell Scripting : Modules

    Module 1 : Shell Scripting Intro

    Module 2 : Executing Commands

    Module 3 : Bash Environment

    What are shell scripts?
    Types of shells
    Bourne Shell
    C Shell
    Korn Shell
    Bash shell
    Bash Startup Files
    Interactive Shells
    Conditionals and Arrays
    Shell Arithmetic
    Directory Stack
    Fork and Exec
    Built-in Commands
    Creating Script Files
    Shell Syntax
    Shell Functions
    Shell Parameters
    Shell Expansions
    Init Script
    Writing Scripts
    Executing Scripts
    Debugging Scripts
    Shell Initialization Files
    /etc/profile and /etc/bashrc
    User Configuration Files
    /.bash_profile, /.bash_login and /.bash_logout
    Global Variables and Local Variables
    Exporting Variables
    Reserved Variables
    Special Parameters
    Shell Expansion
    Command Substitution
    Bash Options

    Module 4 : Regular Expressions

    Module 5 : sed and awk

    Module 6 : Conditionals

    What is Grep?
    Grep and Regular Expressions
    Pattern Matching
    Meta Characters
    Repetition Operators
    Line Anchors
    Word Anchors
    Single Character Match
    Character Ranges
    Range Expressions
    Character Classes
    What is sed?
    sed Commands
    Interactive Editing
    Deleting Lines
    Range of Lines
    Non-Interactive Editing
    Using sed in Scripts
    What is awk?
    Print Selected Fields
    Formatting Fields
    Special Patterns
    awk Scripts and Variables
    Selection Statements
    if-then-else Statement
    Checking Files
    Checking shell Options
    Testing exit Status
    String Comparisons
    Nesting if's
    Boolean Operations
    The test Command
    Compound Condition Testing
    case Command
    Initscript with case

    Module 7 : Interactive Scripts

    Module 8 : Repetitive Tasks

    Module 9 : Functions

    Displaying Messages
    echo Built-in
    Escape Sequences
    read Built-in
    Prompt for User Input
    File Descriptors
    Redirection of Errors
    File I/O
    Closing File Descriptors
    Here Documents
    Iteration Statements
    for Statement
    while Statement
    until Statement
    Loop control
    Output Redirection
    Input Redirection
    Break and Continue
    select Built-in
    shift Built-in
    Function Syntax
    Function Parameters
    Positional Parameters
    return Built-in
    Variables in Functions
    Array Variables and Functions
    Functions on Command Line
    Catching Signals
    Signals with kill
    Handling traps
  • Course Linux Shell Scripting : General

    Course Forms

    All our courses are classroom courses in which the students are guided through the material on the basis of an experienced trainer with in-depth material knowledge. Theory is always interspersed with exercises.


    We also do custom classes and then adjust the course content to your wishes. On request we will also discuss your practical cases.

    Course times

    The course times are from 9.30 to 16.30. But we are flexible in this. Sometimes people have to bring children to the daycare and other times are more convenient for them. In good consultation we can then agree on different course times.


    We take care of the computers on which the course can be held. The software required for the course has already been installed on these computers. You do not have to bring a laptop to participate in the course. If you prefer to work on your own laptop, you can take it with you if you wish. The required software is then installed at the start of the course.


    Our courses are generally given with Open Source software such as Eclipse, IntelliJ, Tomcat, Pycharm, Anaconda and Netbeans. You will receive the digital course material to take home after the course.


    The course includes lunch that we use in a restaurant within walking distance of the course room.


    The courses are planned at various places in the country. A course takes place at a location if at least 3 people register for that location. If there are registrations for different locations, the course will take place at our main location, Houten which is just below Utrecht. A course at our main location also takes place with 2 registrations and regularly with 1 registration. And we also do courses at the customer’s location if they appreciate that.


    At the end of each course, participants are requested to evaluate the course in terms of course content, course material, trainer and location. The evaluation form can be found at https://www.klantenvertellen.nl/reviews/1039545/spiraltrain?lang=en. The evaluations of previous participants and previous courses can also be found there.


    The intellectual property rights of the published course content, also referred to as an information sheet, belong to SpiralTrain. It is not allowed to publish the course information, the information sheet, in written or digital form without the explicit permission of SpiralTrain. The course content is to be understood as the description of the course content in sentences as well as the division of the course into modules and topics in the modules.

  • Course Linux Shell Scripting : Reviews

  • Course Linux Shell Scripting : Certificate