A true System Architect never repeats a task manually. Shell scripting allows us to automate the deployment, monitoring, and optimization of our OS environment. In this chapter, we focus on Bash/Ash scripting within the Alpine Linux layer.
Every script starts with a Shebang, which tells the kernel which interpreter to use. For Alpine Linux, we typically use #!/bin/sh.
Scripts must be granted executable permissions before they can run. This is a security feature of the Linux File System Architecture.