subshell

英['sʌbʃel] 美['sʌbˌʃel]
  • n. 亚层(亚壳层;子壳层;支壳层)
1. Run a list of commands in a subshell.
在Subshell中运行命令列表。

youdao

2. The L-subshell coupling effects are not found.
没有发现L次壳层偶合效应。

youdao

3. The pipe (|) pipes all output of the subshell to SSH.
管道(|)将subshell的所有输出通过管道传输给ssh。

youdao

4. The parenthesized series of commands is called a subshell.
命令中带圆括号的部分称为subshell。

youdao

5. Listing 9 shows the same idea executed using a subshell.
清单9演示如何使用子shell执行相同的代码。

youdao

6. To run a subshell, use the parentheses (), as shown in Figure 2.
使用圆括号()运行子shell,见图2。

youdao

7. The parentheses effectively execute the statements in a subshell.
圆括号让语句在一个子 shell 中执行。

youdao

8. The use of the brackets ensures the commands are grouped and executed in a subshell.
使用括号是保证此命令分在一个组中,并且在子shell 中执行。

youdao

9. Better yet, a subshell can contain another subshell, so expansions can be nested, too.
然而更有价值的是,子Shell可以包含另一个子shell,所以还可以进行嵌套扩展。

youdao

10. Finally, the back quotes both interpret the variable and run the intermediate result as a subshell.
最后,反撇号解释变量并作为子shell运行中间结果。

youdao

11. The command in parentheses is a subshell: Commands in the subshell don't affect the environment of the current shell.
括号中的命令为一个subshell: subshell中的命令不会影响当前shell的环境。

youdao

12. In Listing 9, for example, if the first rsync failed, then the subshell would just continue and run the next command.
例如,在清单9中,如果第一个rsync失败,则子外壳将继续运行下一个命令。

youdao

13. The series of commands collected in parentheses runs in a subshell and does not affect the state of the current shell.
在圆括号中的系列命令将在一个子shell中运行,并且不会对当前Shell的状态产生影响。

youdao

14. Because the subshell is followed by a pipe, all the output of the subshell is sent to the next command in the pipeline.
因为subshell后面跟着管道,所以subshell的所有输出都通过管道传输给了下一个命令。

youdao

15. Here, the subshell command du -sh work | cut -f1 yields the total size of the work directory in a format compatible with pv.
在这里,子shell命令du -sh work |cut - f1以与pv兼容的格式生成工作目录的总大小。

youdao

16. Whether to use a combination or a subshell depends on your intentions-although the subshell is much more powerful, as described next.
是使用组合还是子Shell,这取决于您的目的,尽管子Shell的功能更强大一些,下面将对其进行描述。

youdao

17. Using the subshell, you can collectively redirect their standard and error output for the entire block instead of for each individual command.
通过使用子外壳,可以对整个块(而不是单个命令)的标准和错误输出进行集体重定向。

youdao

18. Nevertheless, some drift is likely to occur because it does take a finite amount of time to launch each subshell for the background processing.
但是,这个过程会发生一些时间偏差,因为需要花费一些时间启动每个子shell 脚本来进行后台处理。

youdao

19. Changes made in the subshell — for example, changing directory — do not affect your command line, but it does affect the environment of the subshell.
subshell中进行的更改,例如更改目录,不会影响到您的命令行,但是它将影响subshell的执行环境。

youdao

20. While it's common to run a subshell to pipe aggregated output to a single command, you can also use a subshell to expand a command in place, just like back ticks.
尽管通常运行子shell将聚合的输出通过管道传递给单个命令,但您还可以使用子Shell对命令进行扩展,就像反勾号那样。

youdao

21. The remote archive is opened on the remote machine, and the byte stream from cat is sent to a subshell that first changes directory, and then it extracts the archive.
在远程计算机上打开远程存档,将cat 产生的字节流发送到 subshell,这个 subshell首先更改目录,然后对存档进行解压缩。

youdao

22. The use of a subshell is preferable in cases when you are redefining environment variables in your list of commands and you do not want those definitions to apply to your current shell.
当您在命令列表中重新定义环境变量,并且您不希望将那些定义应用于当前shell时,使用Subshell更可取。

youdao

23. The use of a subshell is preferable in cases when you are redefining environment variables in your list of commands and you do not want those definitions to apply to your current shell.
当您在命令列表中重新定义环境变量,并且您不希望将那些定义应用于当前shell时,使用Subshell更可取。

youdao