Bash (GNU Bourne-Again Shell) is the default shell for most Linux systems and Mac OS X. It is a Unix shell written for the GNU Project, a program, and a gnu software.
It can run on most Unix-like operating systems, and has even been ported to the Cygwin system on Microsoft Windows to implement the POSIX virtual interface of Windows. In addition, it has also been ported to MS-DOS by the DJGPP project.
Bash's name is a series of abbreviations: Bourne-Again SHell - a pun on the Bourne shell (sh) (Bourne again / born again). The Bourne shell is an early and important shell written by Steve Bourne around 1978 and released with Version 7 Unix.
Bash’s command syntax is a superset of the Bourne shell command syntax.
Most of the large number of Bourne shell scripts can be executed in bash without modification. Only scripts that use Bourne's special variables or built-in commands need to be modified. Many of bash's command syntax comes from Korn shell (ksh) and C shell (csh), such as command line editing, command history, directory stack, $RANDOM and $PPID variables, and POSIX command substitution syntax: $(...). As an interactive shell, pressing the TAB key can automatically complete the partially entered program name, file name, variable name, etc.
The above is the detailed content of What does bash mean in linux?. For more information, please follow other related articles on the PHP Chinese website!