Mastering Bash Scripts Training

  • Learn via: Online Instructor-Led / Classroom Based / Onsite
  • Duration: 4 Days
  • Level: Expert
  • Price: Please contact for booking options
  • Upcoming Date:
  • UK Based Global Training Provider

This course deals comprehensively with the capabilities of BASH and the utilities commonly used in the development of scripts. The training concentrates on a common approach to BASH on variants of UNIX, and currently covers versions of BASH up to 4.1.

Target Audience:

The course is aimed at programmers and analysts operating in Unix environments using BASH, as well as Unix system and network managers. This course is particularly suitable for those companies, which take a multi-vendor open systems view, and is applicable to all flavours of UNIX including Linux, HP-UX, Solaris, AIX, and so on.

We can organize this training at your preferred date and location. Contact Us!

Prerequisites

  • Delegates should have a good working knowledge of Linux or UNIX systems, which includes a working knowledge of UNIX commands and utilities. This can be gained by attending our UNIX Fundamentals or Linux Essentials courses
  • Delegates should also have a practical understanding of programming concepts such as variables, and decision-making constructs.

What You Will Learn

At the end of this course you will be able to:

  • Use all significant features of the BASH language
  • Implement advanced variable and array manipulation
  • Develop shell scripts that contain advanced decision making constructs
  • Use the tracing features to speed the development of shell scripts
  • Implement advanced data stream handling by using process substitution
  • Incorporate functions in script design
  • Integrate BASH scripts with those written using other shells
  • Write reliable, maintainable and efficient shell scripts

Training Outline

Chapter 1: Introduction and Revision

  • Command-line structure
  • Shell interpretation
  • Filename expansion
  • Variable and command expansions
  • Quoting
  • Redirection
  • Here documents
  • Pipes

Chapter 2: Using BASH

  • The Bash story (in brief)
  • Bash personalities
  • Shell options
  • Bash shell options
  • Start-up files
  • Some shell variables
  • Aliases and functions
  • Command-line recall and editing
  • Navigation for the impatient
  • echo and help

Chapter 3: Shell Scripts

  • Command types
  • Creating shell scripts
  • Creating processes
  • The exec command
  • Exit status
  • Using # in shell scripts
  • Running shell scripts
  • BASH_ENV
  • Command groups and sub-shells

Chapter 4: Handling Variables

  • Legal variable names
  • Creating variables
  • The read command
  • Exporting variables
  • Special characters
  • Checking the environment
  • eval

Chapter 5: Parameters and Friends

  • Positional parameters
  • Access to positional parameters
  • $*, $@, and $#
  • Changing positional aparmeters
  • $* versus $@
  • Other special variables

Chapter 6: Behaviour Therapy

  • Sending signals,
  • Receiving signals and the trap command
  • Shell tracing methods
  • Tracing shell expansions
  • DEBUG and ERR traps
  • Dry run of a script
  • The script command
  • Error messages are your friends

Chapter 7: Flow Control

  • Testing commands
  • 'if' statements
  • 'while' and 'until' loops
  • Bourne shell test command
  • Korn shell test command
  • Bourne and Korn syntax compared
  • Numeric tests

Chapter 8: Variable Expansion

  • Extracting a sub-string
  • Deleting a sub-string
  • Editing sub-strings
  • Test and set/exit expansions
  • The colon command

Chapter 9: Lofty Variables

  • Variable attributes
  • Compound assignments
  • Arithmetic conditionals
  • Working with floating-point

Chapter 10: More Loops

  • List processing - 'for' loop
  • Processing positional parameters
  • 'break' and 'continue'
  • Infinite loops
  • The 'select' loop
  • Reading in a loop from a file
  • Reading in a loop from a program (process substitution)

Chapter 11: Sophisticated Tests

  • Statement short-cuts
  • I/O redirection with if-then-fi
  • The 'case' statement
  • case flow control - Bash 4
  • Shell pattern matching
  • Extended pattern operators
  • Locales and character classes

Chapter 12: Using Functions

  • Functions vs. scripts
  • Creating functions
  • Listing and removing functions
  • Function parameters and return values
  • Local and global variables
  • Where to store functions
  • Exported functions
  • Using external function libraries

Chapter 13: Professional Scripts

  • Parsing script options with getopts
  • Handling errors
  • Formatting output - printf
  • Tips for shell programmers: programming for change
  • Tips for shell programmers: programming for performance

Chapter 14: Handling Arrays

  • Arrays: the concepts
  • Bash array syntax
  • Array syntax gotchas
  • Initialising arrays
  • Appending to an array
  • Finding array limits
  • Using read with an array
  • Using mapfile/readarray
  • Associative arrays

Chapter 15: Advanced IO

  • The concepts
  • Using file descriptors
  • Block redirection
  • Named pipes (FIFOs)
  • Process substitution

Chapter 16: Basic sed

  • Running sed
  • Basic regular expressions
  • sed line addressing

Chapter 17: Basic awk

  • The awk programming model
  • awk variables
  • awk opeators
  • Comparing awk with shell constructs

Certification:

This course will assist delegates preparing for the following exams:

  • LPI General Linux I - L101

Why Choose Us

Experience live, interactive learning from the comfort of your home or office with Bilginç IT Academy's Online Instructor-Led Mastering Bash Scripts Training. Engage directly with expert trainers in a virtual environment that mirrors the energy and schedule of a physical classroom.

  • Live Sessions: Join scheduled classes with a live instructor and other delegates in real-time.
  • Interactive Experience: Engage in group activities, hands-on labs, and direct Q&A sessions with your trainer and peers.
  • Global Expert Trainers: Learn from a handpicked global pool of expert trainers with deep industry experience.
  • Proven Expertise: Benefit from over 30 years of quality training experience, equipping you with lasting skills for success.
  • Scalable Delivery: Accessible worldwide with flexible scheduling to meet your professional needs through our globally available virtual classrooms.

Immerse yourself in our most sought-after learning style for Mastering Bash Scripts Training. Our hand-picked classroom venues offer an invaluable human touch, providing a focused and interactive environment for professional growth.

  • Highly Experienced Trainers: Boost your skills with trainers boasting 10-20+ years of real-world experience.
  • State-of-the-Art Venues: Learn in high-standard facilities designed to ensure a comfortable and distraction-free experience.
  • Small Class Sizes: Our limited class sizes foster meaningful discussions and a personalized learning journey.
  • Best Value: Achieve your certification with high-quality training and competitive pricing.

Streamline your organization's training requirements with Bilginc IT Academy’s Onsite Mastering Bash Scripts Training. Experience expert-led learning at your own business premises, tailored to your corporate goals.

  • Tailored Learning Experience: Customize the training content to fit your unique business projects or specific technical needs.
  • Maximize Training Budget: Eliminate travel and accommodation costs, focusing your entire budget on the training itself.
  • Team Building Opportunity: Enhance team bonding and collaboration through shared learning experiences in your workspace.
  • Progress Monitoring: Track and evaluate your employees' progression and performance with relative ease and direct oversight.


Contact us for more detail about our trainings and for all other enquiries!

Available Training Dates

Join our public courses in our Istanbul, London and Ankara facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

We can organize this training at your preferred date and location.
12 April 2026 (4 Days)
Istanbul, Ankara, London
14 April 2026 (4 Days)
Istanbul, Ankara, London
30 April 2026 (4 Days)
Istanbul, Ankara, London
03 May 2026 (4 Days)
Istanbul, Ankara, London
23 May 2026 (4 Days)
Istanbul, Ankara, London
01 June 2026 (4 Days)
Istanbul, Ankara, London
15 June 2026 (4 Days)
Istanbul, Ankara, London
05 July 2026 (4 Days)
Istanbul, Ankara, London

Our IT training and professional development services reach a global audience, transcending geographical boundaries through advanced digital learning platforms and strategic international hubs. We specialize in delivering world-class curriculum across continents, ensuring that no matter where you are located, you have access to the latest industry certifications and technical expertise. By partnering with global technology leaders and academic institutions, we provide a unified learning experience that meets the demands of a diverse, international workforce. Our commitment to global excellence ensures that professionals in every time zone can master the digital skills required to lead, innovate, and thrive in the ever-evolving global technology landscape.

By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.