官术网_书友最值得收藏!

  • Bash Quick Start Guide
  • Tom Ryder
  • 275字
  • 2021-07-23 16:58:53

What is Bash?

Bash's full name is the GNU Bourne Again Shell. It is a programming language, specifically a shell scripting language, with an interpreter in a program named bash. It was created by Brian Fox of the Free Software Foundation, starting in 1989, and is now maintained by Chet Ramey. It is part of the GNU project for a free software operating system.

The bash program is used as a shell: either for entering commands as an interactive shell using a command line, batches of commands from a shell script, or a single command from an option.

In this book, we will refer to Bash as the software distribution and the programming language, and to bash as its interpreter program.

Bash is a Bourne-style shell, with some support for POSIX shell compatibility. It is not compatible with any kind of C-style shell, such as tcsh.

Bash has many general programming language facilities that make it usable for general programming tasks, but like most shell scripting languages, its fundamental design is to run other programs in a control structure, and to make them work together in ways suitable to the programmer, whether or not they were designed to do so. This is the main thing that makes shell scripting powerful and useful.

In this chapter, you will learn:

  • What Bash is and is not
  • How to install and switch to Bash
  • How to check you are running a recent version of Bash
  • How the POSIX standard applies to Bash
  • The two major categories of Bash features
  • Programming tasks for which Bash is and is not well-suited
  • How to get help while using Bash
主站蜘蛛池模板: 枝江市| 陈巴尔虎旗| 道孚县| 眉山市| 阳东县| 安泽县| 保山市| 丹东市| 衡南县| 同仁县| 岳西县| 迭部县| 洛阳市| 山阴县| 海南省| 桦南县| 海丰县| 延边| 福鼎市| 惠州市| 汝阳县| 五华县| 即墨市| 汉寿县| 师宗县| 荥阳市| 大宁县| 恭城| 玛纳斯县| 镶黄旗| 宁河县| 正镶白旗| 清原| 屏东市| 册亨县| 鲜城| 余庆县| 孟津县| 棋牌| 施秉县| 瓦房店市|