个人工具

“沙盒”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第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.
 
 
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%"
 
{| style="border: none" width="100%"
 
|-
 
|-
| width="200px" | [[#Shell Syntax|Shell Syntax]]:
+
| width="200px" | [[#Shell Operation|Shell Operation]]:
| What your input means to the shell.  
+
| The basic operation of the shell.
 
+
对shell来说你输入的是什么?
+
 
|-
 
|-
| [[#Shell Commands|Shell Commands]]:
+
| [[#Quoting|Quoting]]:
| The types of commands you can use.  
+
| How to remove the special meaning from characters.  
 
+
你可以使用的命令。
+
 
|-
 
|-
| [[#Shell Functions|Shell Functions]]:
+
| [[#Comments|Comments]]:
| Grouping commands by name.
+
| How to specify comments.  
 
+
按名称分组的命令。
+
|-
+
| [[#Shell Parameters|Shell Parameters]]:
+
| How the shell stores values.
+
 
+
shell如何存储值。
+
|-
+
| [[#Shell Expansions|Shell Expansions]]:
+
| How Bash expands parameters and the various expansions available.
+
 
+
Bash如何扩展参数以及可用的扩展。
+
|-
+
| [[#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.
+
 
+
shell命令的执行文件。
+
 
|}
 
|}

2016年6月28日 (二) 17:17的版本

Shell Operation: The basic operation of the shell.
Quoting: How to remove the special meaning from characters.
Comments: How to specify comments.