Skip to main content
Programming Languages

Bash.

Linux shell scripting for automation, CI/CD pipelines, DevOps workflows, and server administration.

Beginner

Start here — no prior experience needed

9 lessons
bash beginner
5 min read

Install and configure Bash on Linux, macOS, and Windows WSL, then write and run your first shell script.

bash beginner
5 min read

Master variable assignment, quoting rules, environment variables, export, and special variables like $0, $1, $#, $@, and $$.

bash beginner
5 min read

Learn how Bash handles strings, integers, arrays, associative arrays, and readonly variables with practical examples.

bash beginner
5 min read

Learn arithmetic operators with $(( )), floating-point math with bc, string comparison, and the difference between test, [ ], and [[ ]].

bash beginner
5 min read

Master if/elif/else, case statements, for loops, while and until loops, and break/continue in Bash.

bash beginner
5 min read

Learn how to define functions, use local variables, handle return codes, pass arguments, and build reusable script libraries.

bash beginner
5 min read

Use file test operators, safely copy, move, and delete files, and work with find and stat in Bash scripts.

bash beginner
5 min read

Learn read, echo vs printf, stdin/stdout/stderr, redirection operators, tee, and pipes for building robust Bash pipelines.

bash beginner
5 min read

Understand what Bash is, how it differs from a terminal and shell, and why it's the backbone of DevOps and automation.

Intermediate

For developers with core concepts down

11 lessons
bash intermediate
5 min read

Master parameter expansion, substrings, find-and-replace, trimming, case conversion, and heredocs in Bash.

bash intermediate
5 min read

Work with indexed and associative arrays in Bash — creation, access, slicing, looping, and reading files with mapfile.

bash intermediate
5 min read

Use grep, sed, awk, cut, sort, uniq, wc, tr, and column to process text and structured data in Bash pipelines.

bash intermediate
5 min read

Run background jobs, manage processes with jobs/fg/bg, send signals with kill, use trap for cleanup, and understand subshells.

bash intermediate
5 min read

Write robust scripts with set -euo pipefail, trap ERR, exit codes, meaningful error messages, and safe cleanup patterns.

bash intermediate
5 min read

Use the =~ operator, BASH_REMATCH, grep -E, and sed regex for practical pattern matching in Bash scripts.

bash intermediate
5 min read

Use curl, wget, nc, ssh, scp, rsync, and port checks in Bash scripts for automation and DevOps tasks.

bash intermediate
5 min read

Use uname, df, du, ps, lsof, netstat/ss, and systemctl to inspect and monitor a Linux system from Bash scripts.

bash intermediate
5 min read

Master crontab syntax, cron expressions, at for one-time jobs, systemd timers, and logging cron output properly.

bash intermediate
5 min read

Write secure Bash scripts — safe temp files with mktemp, avoiding command injection, handling secrets, and setting file permissions.

bash intermediate
5 min read

Learn production-ready patterns — argument parsing with getopts, usage functions, loading config files, and script locking.

Advanced

Production-grade patterns for experienced engineers

2 lessons