The GNU Project's Bourne Again SHell
open sourceGPL-3.0-or-laterself-hostablefree
Bash is the GNU Project's shell, the Bourne Again SHell: an sh-compatible shell that adds features from the Korn shell and the C shell and aims to conform to the POSIX shell standard, so most sh scripts run in it unchanged. For interactive use it has command-line editing, unlimited command history and job control, and for scripting it has shell functions and aliases, indexed arrays and integer arithmetic. It's the standard shell on GNU/Linux systems, and macOS ships it as /bin/bash. It's free software under the GNU GPL v3 or later.
Problems it solves
- write a script that runs on practically every Linux server without installing anything
- automate a series of terminal commands I keep typing by hand
- a shell that runs existing sh scripts unchanged but is nicer to use interactively
- search back through my command history and edit long commands in place
- run jobs in the background and bring them back to the foreground later
Features
- sh-compatible, with features from ksh and csh
- aims at POSIX shell conformance
- command-line editing
- unlimited command history
- job control
- shell functions and aliases
- indexed arrays and integer arithmetic in any base from 2 to 64
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Bash does.
- Zsh A shell designed for interactive use, and a powerful scripting language
- fish The user-friendly command line shell.
- Nushell A new type of shell
- PowerShell A cross-platform task automation solution: command-line shell, scripting language and configuration management
