Skip to content
>_devvkit
$devvkit resources --cheatsheet bash-scripting

Bash Scripting

[terminal]

Bash is the default shell on Linux and macOS. Writing shell scripts automates repetitive tasks, CI/CD pipelines, and local development workflows. This cheatsheet covers scripting fundamentals with a focus on patterns used in real-world scripts.

All scripts should start with #!/bin/bash and be made executable with chmod +x.