Bash (Unix shell)

From WikiMD's Wellness Encyclopedia

Error creating thumbnail:
Gnu-bash-logo

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 release1989
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Written inC
Middleware
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).



    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]

    See Also[edit | edit source]

    References[edit | edit source]

    WikiMD
    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's Wellness Encyclopedia

    Let Food Be Thy Medicine
    Medicine Thy Food - Hippocrates

    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