#!/usr/bin/env bash # the shebang lets ./script.sh run under bash directly echo "running under bash $BASH_VERSION"
the first line picks the interpreter