PortabilityPOSIX sh vs Bash — When to Choose
All courses

/bin/sh for maximum portability

POSIX sh runs everywhere (Alpine, old Ubuntu, embedded). Bash adds arrays, [[ ]], brace expansion. Use Bash when you control the environment; use POSIX for max portability.

Output
Press Run to execute your code.