3.1.4 Shell scripting
Every entry filed under Shell scripting and its subtopics.
Level
Kind
- Tutorial 1
- Concept 0
- How-to 2
- Reference 2
- Fix 1
Platform
Clear filters
- Linux 6
- macOS 4 (selected, select to remove)
- Windows 0
- Browser 0
3 entries match these filters
- 0058 Safe bash script template with set ‑euo pipefail and trap A starting point for bash scripts that stops on errors, rejects unset variables, cleans up temp files on exit and parses options.… Intermediate · Reference · Linux, macOS Script Shell scripting 15 Oct 2026
- 0061 Fix: Address already in use (free a busy port) Your server cannot start because another process already listens on its port. This script shows which process holds the port and stops… Intermediate · Fix · Linux, macOS Script Processes & ports · Shell scripting 15 Oct 2026
- 0265 Turn a one-liner into a robust bash script: strict mode, options, logging, traps, locking and a schedule Grow a find-and-gzip one-liner step by step into a dependable bash script with strict mode, getopts, usage text, logging, error traps, dry-run,… Intermediate · Tutorial · Linux, macOS Article Services & systemd · Shell scripting 15 Oct 2026