|
|
(未显示3个用户的46个中间版本) |
第1行: |
第1行: |
| Bash is an acronym for ‘Bourne-Again SHell’. The Bourne shell is the traditional Unix shell originally written by Stephen Bourne. All of the Bourne shell builtin commands are available in Bash, The rules for evaluation and quoting are taken from the POSIX specification for the ‘standard’ Unix shell.
| | [[文件:14.png]] |
| | |
| Bash是‘Bourne-Again SHell’的首字母缩写。Bourne shell是传统Unix shell,它诞生之初是有Stephen Bourne写就的。所有Bourne shell的内置命令在Bash中都是可用的,其评估和引用规则取自POSIX规范的Unix shell ‘standard’。
| |
| | |
| This chapter briefly summarizes the shell’s ‘building blocks’: commands, control structures, shell functions, shell ''parameters'', shell expansions, ''redirections'', which are a way to direct input and output from and to named files, and how the shell executes commands.
| |
| | |
| 本章简述了shell的‘building blocks’(构造块):命令、控制结构、shell函数、shell ''参数'', shell 扩展, ''redirections''(重定向),它是一种基于命名文件的直接输入和输出方法,以及shell怎样执行命令。
| |
| | |
| | |
| {| style="border: none" width="100%"
| |
| |-
| |
| | width="200px" | [[#Shell Syntax|Shell Syntax]]:
| |
| | What your input means to the shell.
| |
| |-
| |
| | [[#Shell Commands|Shell Commands]]:
| |
| | The types of commands you can use.
| |
| |-
| |
| | [[#Shell Functions|Shell Functions]]:
| |
| | Grouping commands by name.
| |
| |-
| |
| | [[#Shell Parameters|Shell Parameters]]:
| |
| | How the shell stores values.
| |
| |-
| |
| | [[#Shell Expansions|Shell Expansions]]:
| |
| | How Bash expands parameters and the various expansions available.
| |
| |-
| |
| | [[#Redirections|Redirections]]:
| |
| | A way to control where input and output go.
| |
| |-
| |
| | [[#Executing Commands|Executing Commands]]:
| |
| | What happens when you run a command.
| |
| |-
| |
| | [[#Shell Scripts|Shell Scripts]]:
| |
| | Executing files of shell commands.
| |
| |}
| |