Bash (Unix shell)
Original author(s) | Brian Fox |
---|---|
Developer(s) | GNU Project |
Initial release | 1989 |
Stable release | 5.1
|
Repository |
|
Written in | C |
Engine | |
Operating system | Unix-like |
Platform | Cross-platform |
Type | Unix shell, Command-line interface |
License | GPLv3+ |
Bash (Bourne Again SHell) is a Unix shell and command language written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell. First released in 1989, it has been used widely as the default login shell for most Linux distributions and macOS.
History[edit | edit source]
Bash was developed as part of the GNU Project, which aimed to create a free software operating system. It was intended to be a free replacement for the Bourne shell (sh), which was the original Unix shell written by Stephen Bourne. The name "Bash" is a recursive acronym for "Bourne Again SHell," a play on words that signifies its goal of improving upon the Bourne shell.
Features[edit | edit source]
Bash incorporates features from the Bourne shell as well as the C shell (csh) and the KornShell (ksh). Some of its notable features include:
- Command-line editing
- Unlimited command history
- Job control
- Shell functions and aliases
- Indexed arrays of unlimited size
- Integer arithmetic in any base from two to sixty-four
Scripting[edit | edit source]
Bash is also a powerful scripting language, allowing users to write scripts to automate tasks. Bash scripts can include control structures such as loops and conditionals, functions, and variables. They are commonly used for system administration tasks, such as backups and file management.
Usage[edit | edit source]
Bash is the default shell on most Linux distributions and is also available on macOS. It can be installed on other Unix-like systems and even on Microsoft Windows through the Windows Subsystem for Linux (WSL).
Related Pages[edit | edit source]
- Unix shell
- GNU Project
- Linux
- macOS
- Command-line interface
- Bourne shell
- C shell
- KornShell
- Windows Subsystem for Linux
See Also[edit | edit source]
References[edit | edit source]
Navigation: Wellness - Encyclopedia - Health topics - Disease Index - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD is not a substitute for professional medical advice. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.Contributors: Prab R. Tumpati, MD