BASHとは? わかりやすく解説

バッシュ【Bash】

読み方:ばっしゅ

Bourne again shellUNIX(ユニックス)系のオペレーティングシステムで、ユーザー入出力操作を担う標準的なシェルプログラムの一。コマンド名はbash。1988年ボーンシェル後継として開発された。BAシェル


Bash

名前 バァッシュ; バシバッシュ

Bash

出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2024/01/06 07:06 UTC 版)

Bash(バッシュ)はUnixシェルかつコマンド言語英語版であり、GNUプロジェクトにおけるBourne Shellフリーソフトウェアによる代替としてブライアン・フォックス英語版によって作成された[7][8]。Bashは1989年に初めてリリースされ[9]、ほとんどのLinuxディストリビューションのデフォルトのログインシェルとして広く普及している。Windows 10におけるWindows Subsystem for Linuxでも利用可能である[10]


  1. ^ CVE - CVE-2014-6271
  2. ^ CVE - CVE-2014-6277
  3. ^ CVE - CVE-2014-7169
  4. ^ C shellとBashのブレース展開は要素がひとつの時の挙動が異なる。
    % csh -c 'echo a{p}e'
    ape
    % bash -c 'echo a{p}e'
    a{p}e
    
  5. ^ C shellでは ~/.cshrc がインタラクティブサブシェルのために呼び出される。また、tcsh では ~/.tcshrc が、その後 ~/.cshrc がインタラクティブサブシェルのために呼び出される。
  1. ^ bash-5.2.21.tar.gz” (9 11月 2023). 9 11月 2023閲覧。
  2. ^ Bash FAQ
  3. ^ macos - Why does Apple ship bash 3.2? - Ask Different
  4. ^ Missing source code - GPL compliance? · Issue #107 · microsoft/WSL · GitHub
  5. ^ GNU Bash”. Softpedia. SoftNews. 2016年4月9日閲覧。
  6. ^ 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).”
  7. ^ a b c リチャード・ストールマン (forwarded with comments by Chet Ramey) (10 February 1988). "GNU + BSD = ?". Newsgroupcomp.unix.questions. Usenet: 2362@mandrill.CWRU.Edu. 2011年3月22日閲覧For a year and a half, the GNU shell was "just about done". The author made repeated promises to deliver what he had done, and never kept them. Finally I could no longer believe he would ever deliver anything. So Foundation staff member Brian Fox is now implementing an imitation of the Bourne shell.
  8. ^ 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." 
  9. ^ a b Brian Fox (forwarded by Leonard H. Tower Jr.) (8 June 1989). "Bash is in beta release!". Newsgroupgnu.announce. 2010年10月28日閲覧
  10. ^ How to install Bash shell command-line tool on Windows 10
  11. ^ C Programming by Al Stevens, Dr. Dobb's Journal, July 1, 2001
  12. ^ リチャード・ストールマン (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.”
  13. ^ 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"." 
  14. ^ 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".]" 
  15. ^ 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).)]" 
  16. ^ Brian Fox (August 29, 1996), shell.c, フリーソフトウェア財団, http://ftp.gnu.org/gnu/bash/bash-1.14.7.tar.gz, "Birthdate: Sunday, January 10th, 1988. Initial author: Brian Fox" 
  17. ^ リチャード・ストールマン (2010年10月3日). “About the GNU Project”. Free Software Foundation. 2011年4月24日時点のオリジナルよりアーカイブ。2011年3月21日閲覧。 “Free Software Foundation employees have written and maintained a number of GNU software packages. Two notable ones are the C library and the shell. ... We funded development of these programs because the GNU Project was not just about tools or a development environment. Our goal was a complete operating system, and these programs were needed for that goal.”
  18. ^ len (g...@prep.ai.mit.edu) (20 April 1993). "January 1993 GNU's Bulletin". Newsgroupgnu.announce. Usenet: gnusenet930421bulletin@prep.ai.mit.edu. 2010年10月28日閲覧
  19. ^ Chet Ramey (October 31, 2010), Dates in your Computerworld interview, https://www.scribd.com/doc/40556434/2010-10-31-Chet-Ramey-Early-Bash-Dates 2010年10月31日閲覧。 
  20. ^ Ramey, Chet (1994年8月1日). “Bash - the GNU shell (Reflections and Lessons Learned)”. Linux Journal. 2008年12月5日時点のオリジナルよりアーカイブ。2008年11月13日閲覧。
  21. ^ Chet Ramey (12 June 1989). "Bash 0.99 fixes & improvements". Newsgroupgnu.bash.bug. 2010年11月1日閲覧
  22. ^ Chet Ramey (24 July 1989). "Some bash-1.02 fixes". Newsgroupgnu.bash.bug. 2010年10月30日閲覧
  23. ^ Brian Fox (2 March 1990). "Availability of bash 1.05". Newsgroupgnu.bash.bug. 2010年10月30日閲覧
  24. ^ Foster-Johnson, Eric; Welch, John C.; Anderson, Micah (April 2005). Beginning Shell Scripting. John Wiley & Sons, Inc.. p. 6. ISBN 978-0-7645-9791-6. https://books.google.com/books?id=dwIRERUpQPEC&pg=PA6&dq=bash+most+popular+unix+shell&hl=en&sa=X&ved=0ahUKEwi_3fnR2pPNAhUX3GMKHTEdAZoQ6AEIQTAF#v=onepage&q=bash%20most%20popular%20unix%20shell&f=false 2016年6月6日閲覧. "Bash is by far the most popular shell and forms the default shell on Linux and Mac OSX systems." 
  25. ^ Danesh, Arman; Jang, Michael (February 2006). Mastering Linux. John Wiley & Sons, Inc.. p. 363. ISBN 978-0-7821-5277-7. https://books.google.com/books?id=tIjrVYbZmUAC&pg=PA363&dq=bash+most+popular+unix+shell&hl=en&sa=X&ved=0ahUKEwjnipq_3JPNAhUH52MKHUD-DA04ChDoAQgpMAA#v=onepage&q=bash%20most%20popular%20unix%20shell&f=false 2016年6月6日閲覧. "The Bourne Again Shell (bash) is the most common shell installed with Linux distributions." 
  26. ^ Bresnahan, Christine; Blum, Richard (April 2015). CompTIA Linux+ Powered by Linux Professional Institute Study Guide: Exam LX0-103 and Exam LX0-104 (3rd ed.). John Wiley & Sons, Inc.. p. 5. ISBN 978-1-119-02122-3. https://books.google.com/books?id=2P3zBgAAQBAJ&pg=PA5&dq=%22most+popular%22+linux+shell&hl=en&sa=X&ved=0ahUKEwiDhpnX4JPNAhWCKGMKHQCmCoEQ6AEIRjAH#v=onepage&q=%22most%20popular%22%20linux%20shell&f=false 2016年6月6日閲覧. "In Linux, most users run bash because it is the most popular shell." 
  27. ^ https://www.linkedin.com/pub/st%C3%A9phane-chazelas/7/2a2/834
  28. ^ Huzaifa Sidhpurwala (2014年9月24日). “Bash specially-crafted environment variables code injection attack”. レッドハット. 2017年10月21日閲覧。
  29. ^ a b “6.11 Bash POSIX Mode”, The GNU Bash Reference Manual, for Bash, Version 4.1, (December 23, 2009), オリジナルのDecember 3, 2010時点におけるアーカイブ。, https://www.gnu.org/software/bash/manual/html_node/Bash-POSIX-Mode.html 2010年10月26日閲覧。 
  30. ^ Advanced Bash-Scripting Guide”. www.tldp.org. 2017年3月5日閲覧。
  31. ^ The syntax matches that shown on the regex(7) manページ.
  32. ^ "The shell provides associative array variables, with the appropriate support to create, delete, assign values to, and expand them." https://tiswww.case.edu/php/chet/bash/NEWS
  33. ^ a b Mendel Cooper. “Portability Issues”. The Linux Documentation Project. ibiblio.org. 2017年10月21日閲覧。
  34. ^ https://linux.die.net/man/1/checkbashisms
  35. ^ BASH Help - A Bash Tutorial”. Hypexr.org (2012年10月5日). 2013年7月21日閲覧。
  36. ^ bashbug(1), die.net
  37. ^ "Linux / Unix Command: bashbug", apple.com


「Bash」の続きの解説一覧

bash

出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2022/03/24 10:11 UTC 版)

終了ステータス」の記事における「bash」の解説

bash の終了ステータス範囲は 0 から 255 で、0 は正常終了それ以外異常終了である。範囲外整数exit渡され場合終了ステータス256剰余となる。直前コマンド終了ステータスは $? で取得でき、if, &&, || などの制御演算子利用できる。 以下の終了ステータス予約されている。 終了ステータス意味1 一般的なエラー 2 ビルトインコマンド誤用 126 コマンド実行できなかった(実行権限がなかった) 127 コマンドが見つからなかった 128 exit不正な値を渡した例え浮動小数点数128+n シグナル n で終了 255 範囲外終了ステータス

※この「bash」の解説は、「終了ステータス」の解説の一部です。
「bash」を含む「終了ステータス」の記事については、「終了ステータス」の概要を参照ください。

ウィキペディア小見出し辞書の「BASH」の項目はプログラムで機械的に意味や本文を生成しているため、不適切な項目が含まれていることもあります。ご了承くださいませ。 お問い合わせ



固有名詞の分類


英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「BASH」の関連用語

BASHのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



BASHのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
デジタル大辞泉デジタル大辞泉
(C)Shogakukan Inc.
株式会社 小学館
日外アソシエーツ株式会社日外アソシエーツ株式会社
Copyright (C) 1994- Nichigai Associates, Inc., All rights reserved.
ウィキペディアウィキペディア
All text is available under the terms of the GNU Free Documentation License.
この記事は、ウィキペディアのBash (改訂履歴)の記事を複製、再配布したものにあたり、GNU Free Documentation Licenseというライセンスの下で提供されています。 Weblio辞書に掲載されているウィキペディアの記事も、全てGNU Free Documentation Licenseの元に提供されております。
ウィキペディアウィキペディア
Text is available under GNU Free Documentation License (GFDL).
Weblio辞書に掲載されている「ウィキペディア小見出し辞書」の記事は、Wikipediaの終了ステータス (改訂履歴)の記事を複製、再配布したものにあたり、GNU Free Documentation Licenseというライセンスの下で提供されています。

©2024 GRAS Group, Inc.RSS