バッシュ【Bash】
Bash
(Bourne Again Shell から転送)
出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2024/07/17 02:18 UTC 版)
Bash(バッシュ)はUnixシェルかつコマンド言語であり、GNUプロジェクトにおけるBourne Shellのフリーソフトウェアによる代替としてブライアン・フォックスによって作成された[7][8]。Bashは1989年に初めてリリースされ[9]、ほとんどのLinuxディストリビューションのデフォルトのログインシェルとして広く普及している。Windows 10におけるWindows Subsystem for Linuxでも利用可能である[10]。
- ^ CVE - CVE-2014-6271
- ^ CVE - CVE-2014-6277
- ^ CVE - CVE-2014-7169
- ^ C shellとBashのブレース展開は要素がひとつの時の挙動が異なる。
% csh -c 'echo a{p}e' ape % bash -c 'echo a{p}e' a{p}e
- ^ C shellでは
~/.cshrc
がインタラクティブサブシェルのために呼び出される。また、tcsh では~/.tcshrc
が、その後~/.cshrc
がインタラクティブサブシェルのために呼び出される。
- ^ “bash-5.2.21.tar.gz” (9 11月 2023). 9 11月 2023閲覧。
- ^ 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).”
- ^ a b c リチャード・ストールマン (forwarded with comments by Chet Ramey) (10 February 1988). "GNU + BSD = ?". Newsgroup: comp.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.
- ^ Hamilton, Naomi (May 30, 2008), “The A-Z of Programming Languages: BASH/Bourne-Again Shell”, Computerworld: 2 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."
- ^ a b 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 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 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 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).)]"
- ^ Brian Fox (August 29, 1996), shell.c, フリーソフトウェア財団 , "Birthdate: Sunday, January 10th, 1988. Initial author: Brian Fox"
- ^ リチャード・ストールマン (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.”
- ^ len (g...@prep.ai.mit.edu) (20 April 1993). "January 1993 GNU's Bulletin". Newsgroup: gnu.announce. Usenet: gnusenet930421bulletin@prep.ai.mit.edu. 2010年10月28日閲覧。
- ^ Chet Ramey (October 31, 2010), Dates in your Computerworld interview 2010年10月31日閲覧。
- ^ Ramey, Chet (1994年8月1日). “Bash - the GNU shell (Reflections and Lessons Learned)”. Linux Journal. 2008年12月5日時点のオリジナルよりアーカイブ。2008年11月13日閲覧。
- ^ Chet Ramey (12 June 1989). "Bash 0.99 fixes & improvements". Newsgroup: gnu.bash.bug. 2010年11月1日閲覧。
- ^ Chet Ramey (24 July 1989). "Some bash-1.02 fixes". Newsgroup: gnu.bash.bug. 2010年10月30日閲覧。
- ^ Brian Fox (2 March 1990). "Availability of bash 1.05". Newsgroup: gnu.bash.bug. 2010年10月30日閲覧。
- ^ 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 2016年6月6日閲覧. "Bash is by far the most popular shell and forms the default shell on Linux and Mac OSX systems."
- ^ Danesh, Arman; Jang, Michael (February 2006). Mastering Linux. John Wiley & Sons, Inc.. p. 363. ISBN 978-0-7821-5277-7 2016年6月6日閲覧. "The Bourne Again Shell (bash) is the most common shell installed with Linux distributions."
- ^ 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 2016年6月6日閲覧. "In Linux, most users run bash because it is the most popular shell."
- ^ https://www.linkedin.com/pub/st%C3%A9phane-chazelas/7/2a2/834
- ^ Huzaifa Sidhpurwala (2014年9月24日). “Bash specially-crafted environment variables code injection attack”. レッドハット. 2017年10月21日閲覧。
- ^ a b “6.11 Bash POSIX Mode”, The GNU Bash Reference Manual, for Bash, Version 4.1, (December 23, 2009), オリジナルのDecember 3, 2010時点におけるアーカイブ。 2010年10月26日閲覧。
- ^ “Advanced Bash-Scripting Guide”. www.tldp.org. 2017年3月5日閲覧。
- ^ The syntax matches that shown on the
regex(7)
manページ. - ^ "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
- ^ a b Mendel Cooper. “Portability Issues”. The Linux Documentation Project. ibiblio.org. 2017年10月21日閲覧。
- ^ https://linux.die.net/man/1/checkbashisms
- ^ “BASH Help - A Bash Tutorial”. Hypexr.org (2012年10月5日). 2013年7月21日閲覧。
- ^ bashbug(1), die.net
- ^ "Linux / Unix Command: bashbug", apple.com
「Bourne Again Shell」の例文・使い方・用例・文例
- Bourne Again Shellのページへのリンク