The Unix shell formerly used by Terminal in macOS until 10.15

Bash was the default shell in macOS until 2019 when it was depreciated in lieu of zsh in macOS 10.15 Catalina.

Bash is a command processor, which means that the user inputs text commands at a prompt. Like the majority of Unix shells, it supports filename wildcarding, piping, here documents, command substitution, variables and control structures for condition-testing and iteration. Almost all of the syntax was copied from the sh shell. The current major version of Bash is version 4.

Code Language (used for syntax highlighting): lang-bash