沙盒:修订间差异
来自Ubuntu中文
跳到导航跳到搜索
小无编辑摘要 |
小无编辑摘要 |
||
第2行: | 第2行: | ||
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. | 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. | ||
{| 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. | |||
|} |
2016年6月27日 (一) 16:33的版本
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.
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 Syntax: | What your input means to the shell. |
Shell Commands: | The types of commands you can use. |
Shell Functions: | Grouping commands by name. |
Shell Parameters: | How the shell stores values. |
Shell Expansions: | How Bash expands parameters and the various expansions available. |
Redirections: | A way to control where input and output go. |
Executing Commands: | What happens when you run a command. |
Shell Scripts: | Executing files of shell commands. |