The default Unix shell used by Terminal in macOS
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.