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

后端 未结 6 1400
心在旅途
心在旅途 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:15

    In general, unless explicitly sent to the background or forking themselves off as a daemon, commands in a shell script are serialized.

提交回复
热议问题