Bash (original) (raw)

bash

is a Unix command shell written for the GNU project. Its name is an acronym for "_B_ourne-_a_gain _sh_ell": a pun on the Bourne shell sh, which was the original Unix shell. The Bash command syntax is largely backward-compatible with sh, and includes ideas drawn from ksh and csh, such as the command history, the directory stack, the RANDOMvariable,andthe[POSIX](../../p/po/posix.html"POSIX")formofcommandsubstitution,′RANDOM variable, and the [POSIX](../../p/po/posix.html "POSIX") form of command substitution, 'RANDOMvariable,andthe[POSIX](../../p/po/posix.html"POSIX")formofcommandsubstitution,('.

The original Bourne shell was written by Stephen Bourne. Bash was primarily written by Brian Fox and Chet Ramey.

Bash is the default shell on most GNU/Linux systems, and it can be run on most Unix-like operating systems. It has also been ported to Microsoft Windows by the Cygwin project.

Bash is distributed under the GNU General Public License. It is available for download from many sites on the Internet, including the GNU project FTP site. The latest released version is 2.05β.

The complex bash script bashforth shows several bash programming techniques, by implementing a version of the extensible programming language Forth.