Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Advanced BASH 5.0 Scripting
Rating: 4.0 out of 5(5 ratings)
39 students

Advanced BASH 5.0 Scripting

A look at new features in BASH 5.0 that improve the flexibility of the shell.
Created byEric Bruno
Last updated 10/2026
English
English [Auto],

What you'll learn

  • Indexed and associative arrays, and how to use them for real config data
  • Indirect expansion and name references (${!var} and declare -n)
  • Shell arithmetic, its limits, and error handling
  • The declare directive, read-only variables, and variable scoping
  • Generating a backtrace with the caller built-in
  • Autocase conversion, spell-correct-word, and other hidden built-ins

Course content

6 sections • 18 lectures • 41m total length
  • Introduction to Advanced Bash Scripting2:00

    Explains what BASH is, its history from the Bourne shell, and the modern features that make it a powerful scripting and automation tool

  • ShellCheck, ShellSpec, and Spell Correction1:08

    Lint shell scripts with ShellCheck, write and run tests with ShellSpec, and use bash's built-in spell-correction tools.

  • Introduction

Requirements

  • Basic Knowledge of Unix/Linux shells.

Description

BASH 5.n: What's New & Hidden Features

This course contains the use of artificial intelligence.

This course uses artificial intelligence to improve the student experience — better demos and consistent audio presentation — and the narration is voiced by a clone of the instructor's own voice.

A fast, focused tour of the modern BASH shell — the features most shell users don't know they have. In about 30 minutes you'll see arrays and associative arrays, indirect expansion, shell arithmetic, the declare directive and variable scoping, the caller built-in and backtraces, autocase conversion, and the built-in spell-correction and other hidden tools.

This is a hands-on overview: every topic is demonstrated with real terminal demos so you can see exactly how each feature works and when to reach for it.

What you'll learn:

- Indexed and associative arrays, and how to use them for real config data

- Indirect expansion and name references (${!var} and declare -n)

- Shell arithmetic, its limits, and error handling

- The declare directive, read-only variables, and variable scoping

- Generating a backtrace with the caller built-in

- Autocase conversion, spell-correct-word, and other hidden built-ins

Who this course is for:

- Scripters who already know the basics of bash and want to level up

- Anyone moving from sh/POSIX shell to modern bash

- Developers who want to write more robust, expressive shell scripts

Who this course is for:

  • Beginner and Advanced Users
  • Scripters who already know the basics of bash and want to level up
  • Anyone moving from sh/POSIX shell to modern bash
  • Developers who want to write more robust, expressive shell scripts