SH(1) General Commands Manual SH(1)

shPOSIX-compliant command interpreter

sh [options]

sh is a POSIX-compliant command interpreter (shell). It is implemented by re-execing as either bash(1), dash(1), or zsh(1) as determined by the symbolic link located at /private/var/select/sh. If /private/var/select/sh does not exist or does not point to a valid shell, sh will use one of the supported shells.

bash(1), dash(1), ksh(1), tcsh(1), zsh(1)

February 8, 2019 macOS 15.0