Skip to main content
Consistent linking style; POSIX 1003.2 has been rolled into 1003.1; remove period from non-sentences; update link for CLI crash course
Source Link

Bash (the GNU Bourne Again SHell) is a Unix shell. It was built as a free replacement to the Bourne shell and includes many scripting features from other shells, such as ksh and (t)csh. When called as sh, it is intended to conform to the POSIX 1003.2POSIX 1003.1 standard. Bash features include: command line editing with the readline library, command history, job control, functions & aliases, arrays, dynamic prompts, integer arithmetic, and command & filename completion. Bash is the default interactive shell on most Linux distributions and is usually available on other Unix variants. Some GNU/Linux systems even use it as the default shell /bin/sh.

Other shells:Other shells

Features related to Bash:Features related to Bash

  • (or globbing): matching files based on their name
  • a history of commands that can be navigated with the Up and Down keys, searched, etc.; also a recall mechanism based on expanding sequences beginning with !.
  • completion of partially-entered file names, command names, options and other arguments.
  • showing a prompt before each command, which many users like to customize.
  • the GNU library implementing the line editing and history handling in Bash (and other terminal applications like gdb and python).
  • for defining shortcuts for frequently-used commands.
  • a data structure for storing items in index-able memory.

Bash (the GNU Bourne Again SHell) is a Unix shell. It was built as a free replacement to the Bourne shell and includes many scripting features from other shells, such as ksh and (t)csh. When called as sh, it is intended to conform to the POSIX 1003.2 standard. Bash features include: command line editing with the readline library, command history, job control, functions & aliases, arrays, dynamic prompts, integer arithmetic, and command & filename completion. Bash is the default interactive shell on most Linux distributions and is usually available on other Unix variants. Some GNU/Linux systems even use it as the default shell /bin/sh.

Other shells:

Features related to Bash:

  • (or globbing): matching files based on their name
  • a history of commands that can be navigated with the Up and Down keys, searched, etc.; also a recall mechanism based on expanding sequences beginning with !.
  • completion of partially-entered file names, command names, options and other arguments.
  • showing a prompt before each command, which many users like to customize.
  • the GNU library implementing the line editing and history handling in Bash (and other terminal applications like gdb and python).
  • for defining shortcuts for frequently-used commands.
  • a data structure for storing items in index-able memory.

Bash (the GNU Bourne Again SHell) is a Unix shell. It was built as a free replacement to the Bourne shell and includes many scripting features from other shells, such as ksh and (t)csh. When called as sh, it is intended to conform to the POSIX 1003.1 standard. Bash features include: command line editing with the readline library, command history, job control, functions & aliases, arrays, dynamic prompts, integer arithmetic, and command & filename completion. Bash is the default interactive shell on most Linux distributions and is usually available on other Unix variants. Some GNU/Linux systems even use it as the default shell /bin/sh.

Other shells

Features related to Bash

  • (or globbing): matching files based on their name
  • a history of commands that can be navigated with the Up and Down keys, searched, etc.; also a recall mechanism based on expanding sequences beginning with !
  • completion of partially-entered file names, command names, options and other arguments
  • showing a prompt before each command, which many users like to customize
  • the GNU library implementing the line editing and history handling in Bash (and other terminal applications like gdb and python)
  • for defining shortcuts for frequently-used commands
  • a data structure for storing items in index-able memory
readability and a few links added
Source Link
Loading
rephrased the excerpt to look better in the face of the tag prefix regex mangler; made the usage wording slightly stronger
Source Link
Loading
re-organized a bit; added links to some related tags, more Q's, as well as books
Source Link
Loading
added The Art of Command-line link - Github
Source Link
Loading
Add the alias tag to the related tags list
Source Link
Loading
added a decent thread for missing \[…\] in prompt
Source Link
Gilles 'SO- stop being evil'
  • 857.6k
  • 202
  • 1.8k
  • 2.3k
Loading
Loading
added 239 characters in body
Source Link
Stéphane Chazelas
  • 574k
  • 96
  • 1.1k
  • 1.6k
Loading
restored excerpt that explained bash in context; expand on the difference between /bash and /shell
Source Link
Gilles 'SO- stop being evil'
  • 857.6k
  • 202
  • 1.8k
  • 2.3k
Loading
Adding the link to the FAQ from bash maintainer. Adding a question to the list.
Source Link
Loading
Loading
Loading
added 1383 characters in body
Source Link
Gilles 'SO- stop being evil'
  • 857.6k
  • 202
  • 1.8k
  • 2.3k
Loading
Source Link
xenoterracide
  • 60.9k
  • 79
  • 195
  • 252
Loading