Bash.
Linux shell scripting for automation, CI/CD pipelines, DevOps workflows, and server administration.
Beginner
Start here — no prior experience needed
Bash Setup and First Script
Install and configure Bash on Linux, macOS, and Windows WSL, then write and run your first shell script.
Bash Variables
Master variable assignment, quoting rules, environment variables, export, and special variables like $0, $1, $#, $@, and $$.
Bash Data Types
Learn how Bash handles strings, integers, arrays, associative arrays, and readonly variables with practical examples.
Bash Operators
Learn arithmetic operators with $(( )), floating-point math with bc, string comparison, and the difference between test, [ ], and [[ ]].
Bash Control Flow
Master if/elif/else, case statements, for loops, while and until loops, and break/continue in Bash.
Bash Functions
Learn how to define functions, use local variables, handle return codes, pass arguments, and build reusable script libraries.
Bash File Operations
Use file test operators, safely copy, move, and delete files, and work with find and stat in Bash scripts.
Bash Input and Output
Learn read, echo vs printf, stdin/stdout/stderr, redirection operators, tee, and pipes for building robust Bash pipelines.
Introduction to Bash
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
Bash String Manipulation
Master parameter expansion, substrings, find-and-replace, trimming, case conversion, and heredocs in Bash.
Bash Arrays
Work with indexed and associative arrays in Bash — creation, access, slicing, looping, and reading files with mapfile.
Bash Text Processing
Use grep, sed, awk, cut, sort, uniq, wc, tr, and column to process text and structured data in Bash pipelines.
Bash Process Management
Run background jobs, manage processes with jobs/fg/bg, send signals with kill, use trap for cleanup, and understand subshells.
Bash Error Handling
Write robust scripts with set -euo pipefail, trap ERR, exit codes, meaningful error messages, and safe cleanup patterns.
Regex in Bash
Use the =~ operator, BASH_REMATCH, grep -E, and sed regex for practical pattern matching in Bash scripts.
Bash Networking
Use curl, wget, nc, ssh, scp, rsync, and port checks in Bash scripts for automation and DevOps tasks.
Bash System Information
Use uname, df, du, ps, lsof, netstat/ss, and systemctl to inspect and monitor a Linux system from Bash scripts.
Cron and Scheduling in Bash
Master crontab syntax, cron expressions, at for one-time jobs, systemd timers, and logging cron output properly.
Bash Security Best Practices
Write secure Bash scripts — safe temp files with mktemp, avoiding command injection, handling secrets, and setting file permissions.
Bash Script Patterns
Learn production-ready patterns — argument parsing with getopts, usage functions, loading config files, and script locking.
Advanced
Production-grade patterns for experienced engineers
Bash DevOps Scripts
Production-ready Bash scripts for deployments, backups, log rotation, health checks, and CI/CD pipeline helpers.
Bash Interview Preparation
Top 25 Bash and Shell scripting interview questions with real examples, covering everything from basics to advanced DevOps scenarios.