Bash (Unix shell)
Unix shell and command language
Bash
[[File:Script error: No such module "InfoboxImage".|frameless|alt=]]
Other names | |
---|---|
Original author(s) | Brian Fox |
Developer(s) | GNU Project |
Initial release | 1989 |
Repository |
|
Written in | C |
Middleware | |
Engine |
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]
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's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. 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