Almquist shell
A minimal POSIX shell, called ash, found as /bin/sh in BusyBox and in Alpine Linux containers.
In more detail
Ash is the ancestor of dash and is smaller still. Alpine images ship ash through BusyBox and often have no bash at all, so a script whose shebang asks for bash fails to start there. Write POSIX sh, or install bash in the image, when a script must run on Alpine.
Related terms
- BusyBox — A single small program that provides slimmed-down versions of hundreds of Unix tools, including a shell.
- Alpine Linux — A very small Linux distribution often used as a base image because it is only a few megabytes.
- Debian Almquist shell — A small, fast POSIX shell, called dash, that Debian and Ubuntu use as /bin/sh.
- sh — The standard Unix shell name: whatever program /bin/sh points to, expected to behave as the POSIX standard describes.
Taught in
- Which Shell Am I In, And Getting Bash Five — Bash Scripting & Command Line Automation
- POSIX sh Versus Bash — Bash Scripting & Command Line Automation