Is it possible for bash commands to continue before the result of the previous command?

后端 未结 6 1395
心在旅途
心在旅途 2020-11-27 16:39

When running commands from a bash script, does bash always wait for the previous command to complete, or does it just start the command then go on to the next one?

i

6条回答
  •  星月不相逢
    2020-11-27 17:11

    I think what you want is the concept of a subshell. Here's one reference I just googled: http://www.linuxtopia.org/online_books/advanced_bash_scripting_guide/subshells.html

提交回复
热议问题