Quick-reference skill for Bash shell scripting, built-in features, and best practices.
intro#bash
scripts/script.sh intro
Overview of shell scripting — Bash features, shebang, execution, portability.
variables#bash
scripts/script.sh variables
Variables — declaration, scope, arrays, parameter expansion, special variables.
control#bash
scripts/script.sh control
Control flow — if/else, case, for, while, until, select, functions.
redirections#bash
scripts/script.sh redirections
Redirections and pipes — stdin/stdout/stderr, heredocs, process substitution.
safety#bash
scripts/script.sh safety
Safety practices — set -euo pipefail, quoting, shellcheck, error handling.
tools#bash
scripts/script.sh tools
Essential tools — awk, sed, grep, find, xargs, cut, sort, jq patterns.
signals#bash
scripts/script.sh signals
Signals and traps — SIGTERM, SIGINT, cleanup handlers, background jobs.
checklist#bash
scripts/script.sh checklist
Shell script quality checklist.
help#bash
scripts/script.sh help
version#bash
scripts/script.sh version
VariableDescriptionSHELL_DIRData directory (default: ~/.shell/)
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com