Bash (バッシュ)はUnixシェル かつコマンド言語 (英語版 ) であり、GNUプロジェクト におけるBourne Shell の自由ソフトウェア による代替としてブライアン・フォックス によって作成された[ 7] [ 8] 。Bashは1989年に初めてリリースされ[ 9] 、ほとんどのLinuxディストリビューション のデフォルトのログイン シェルとして広く普及している。Windows 10 におけるWindows Subsystem for Linux でも利用可能である[ 10] 。
Bashはコマンドプロセッサ であり、通常はアクションを発生させるコマンドをユーザーがタイプするテキストウィンドウで起動する。Bashはスクリプト と呼ばれるファイルからコマンドを読み込んで実行することも可能である。Bashはそれ以外の全てのUnixシェルと同様に、ファイル名のグロブ (ワイルドカード によるマッチング)、パイプ 、ヒアドキュメント 、コマンド置換 (英語版 ) 、変数 、そして条件テスト や反復 (英語版 ) のための制御構造 をサポートする。Bashの予約語 や構文 などの言語 の基本的要素は全てBourne shell からコピーされており、ヒストリなどBourne shell以外の機能はC Shell やKornShell からコピーされている。BashはPOSIX 準拠のシェルであるが、数多くの拡張がされている。
Bashという名前は Bourne-again shell(ボーン・アゲイン・シェル) の頭字語 であり、Bashの置換対象であるBourne Shell[ 11] と、現代アメリカのキリスト教において精神的な再生を意味する born again(ボーン・アゲイン)(新生 )に引っ掛けた駄洒落である[ 12] [ 13] [ 14] [ 15] 。
^ "Index of /gnu/bash" . 2024年12月4日閲覧 。
^ Bash FAQ
^ macos - Why does Apple ship bash 3.2? - Ask Different
^ Missing source code - GPL compliance? · Issue #107 · microsoft/WSL · GitHub
^ “GNU Bash ”. Softpedia . SoftNews. 2016年4月9日閲覧。
^ GNU Project . “README file ”. 2017年10月21日閲覧。 “Bash is free software, distributed under the terms of the [GNU] General Public License as published by the Free Software Foundation, version 3 of the License (or any later version).”
^
^
Hamilton, Naomi (May 30, 2008), “The A-Z of Programming Languages: BASH/Bourne-Again Shell” , Computerworld : 2, http://www.computerworld.com.au/article/222764/a-z_programming_languages_bash_bourne-again_shell/?pp=2&fp=16&fpid=1 2011年3月21日閲覧 , "When Richard Stallman decided to create a full replacement for the then-encumbered Unix systems, he knew that he would eventually have to have replacements for all of the common utilities, especially the standard shell, and those replacements would have to have acceptable licensing."
^
Brian Fox (forwarded by Leonard H. Tower Jr.) (8 June 1989). "Bash is in beta release!" . Newsgroup : gnu.announce . 2010年10月28日閲覧 。
^ How to install Bash shell command-line tool on Windows 10
^ C Programming by Al Stevens, Dr. Dobb's Journal , July 1, 2001
^
リチャード・ストールマン (2010年11月12日). “About the GNU Project ”. Free Software Foundation . 2011年4月24日時点のオリジナル よりアーカイブ。2011年3月13日閲覧。 “"Bourne Again Shell" is a play on the name Bourne Shell , which was the usual shell on Unix.”
^
Gattol, Markus (March 13, 2011), Bourne-again Shell , http://www.markus-gattol.name/ws/bash.html 2011年3月13日閲覧 , "The name is a pun on the name of the Bourne shell (sh), an early and important Unix shell written by Stephen Bourne and distributed with Version 7 Unix circa 1978, and the concept of being "born again"."
^
Rohaut, Sébastien (April 2015). LINUX: Preparación para la certificación LPIC-1 : Exámenes LPI 101 y LPI 102 . Editions ENI. p. 170. ISBN 978-2-7460-9513-7 . https://books.google.com/books?id=9HbUHgnfSfkC&pg=PA170&dq=bash+bourne+shell+%22born+again+%22&hl=en&sa=X&ved=0ahUKEwi_jIeBrJDUAhUL04MKHQwNC9kQ6AEIMzAD#v=onepage&q=bash%20bourne%20shell%20%22born%20again%20%22&f=false 2017年5月27日閲覧 . "El bash es un derivado de Bourne Shell. Bourne es el nombre del principal programm programador de este shell. La expresión "Bourne Again" es un guiño a los origenes del bash (Bourne) y un juengo de palabras en "I born again", lo qui significa "he nacido otra vez" o "reencarnado". [Bash is a derivative of Bourne Shell. Bourne is the name of the main programmer for this shell. The expression "Bourne Again" is a nod to the origins of bash (Bourne) and a pun on "born again", which means "I was born again" or "reincarnated".]"
^
Stallman, Richard (1999). Il progetto GNU . Open Sources. Voci dalla rivoluzione Open Source. Apogee Publisher. p. 66. https://books.google.com/books?id=Z8IIgmP9_2UC&pg=PA65&dq=bash+bourne+shell+%22born+again+%22&hl=en&sa=X&ved=0ahUKEwj2xKW1rZDUAhWO0YMKHZaYACw4ChDoAQhaMAc#v=onepage&q=bash%20bourne%20shell%20%22born%20again%20%22&f=false 2017年5月27日閲覧 . ""Bourne Again Shell" è un gioco di parole sul nome "Bourne Shell", che era la normale shell di Unix. NdT: "Bourne again" richiama l'expressione cristiana "born again", "rinato" (in Cristo). ["Bourne Again Shell" is a pun on the name "Bourne Shell", which was the normal Unix shell. NdT: "Bourne again" refers to the Christian expression "born again", "reborn" (in Christ).)]"