Linux CLI & Bash Scripting
Navigate Linux servers with confidence. Master files, permissions (chmod), pipes, grep/awk/sed text processing, systemd processes, and safe Bash scripts.
What you'll build & master
- ✓ Navigate directories, inspect files, and copy/move assets fluently in the shell
- ✓ Compose powerful pipelines with |, >, grep, sort, uniq, and wc
- ✓ Understand Unix file permissions (rwx, 755, 644, 600) and chmod
- ✓ Inspect running processes, ports, and disk/memory usage on Linux servers
- ✓ Write defensive Bash scripts using set -euo pipefail, variables, and loops
Course Syllabus
Shell Basics
- 17 min
Navigation, Files & Directories
Move confidently across the Linux filesystem using pwd, ls -la, mkdir -p, cp, mv, and rm.
- 28 min
Pipes, Redirection & Text Search (grep)
Chain small Unix tools with pipes (|), redirect output (> and >>), and filter logs cleanly with grep, sort, and wc.
- 38 min
Finding Files with find & xargs
Locate files by name, size, or modification time with find, and process results safely using -print0 and xargs -0.
- 47 min
Environment Variables, export & PATH
Configure CLI tools cleanly with export, PATH lookup order, and safe default parameter expansion (${VAR:-default}).
Server Administration
- 18 min
Permissions, chmod & Ownership
Decode rwx permission bits (755, 644, 600), make scripts executable with chmod +x, and protect SSH keys.
- 28 min
Processes, Ports & Server Health
Monitor CPU, RAM, disk space, open TCP ports, and systemd services on production Linux servers.
- 38 min
SSH Keys & Zero-Friction rsync Deploys
Authenticate to Linux servers securely with Ed25519 SSH keys and sync builds fast using rsync -avz --delete.
- 48 min
Networking Debugging: curl, dig & ss
Verify DNS records with dig, inspect HTTP/TLS headers with curl -sI, and check listening ports with ss -tulpn.
Automation
- 18 min
Safe Bash Scripting
Write reliable Bash scripts with set -euo pipefail, quoted variables, functions, and for loops.
- 28 min
Text Processing with sed & awk
Transform text streams on the fly with sed substitutions and extract/sum columns effortlessly with awk.
- 37 min
Cron Jobs & systemd Timers
Schedule recurring backups, SSL renewals, and cleanup jobs using 5-field cron expressions and systemd timers.