Free course
Shell Scripting and Automation Course
Turn shell commands into dependable Bash programs with safe quoting, structured control flow, temporary files, logging, locks, and tests.
Prerequisites: Shell Commands
Your progress
of lessons completed.
Course completed.
What you'll learn
Write and test maintainable scripts that validate input, preserve data, report useful failures, and run safely without supervision.
Take this course offline
Subscribe to my newsletter to get every free book and course in PDF and EPUB format.
Get the downloadsCourse contents
Script foundations
Create executable scripts, quote values, read arguments, and make exit status meaningful.
Control and functions
Use strict checks, conditions, loops, case matching, and small reusable functions.
Files and data
Manage temporary files, read lines, find files safely, and process JSON without fragile text parsing.
Reliable automation
Handle configuration, secrets, logs, retries, locking, and scheduled non-interactive execution.
Automation projects
Build a backup wrapper, health checker, deployment gate, and tested maintainable script.