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.
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.
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.
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.
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.