bash script order of execution

前端 未结 2 741
挽巷
挽巷 2020-11-30 14:38

Do lines in a bash script execute sequentially? I can\'t see any reason why not, but I am really new to bash scripting and I have a couple commands that need to execute in o

2条回答
  •  温柔的废话
    2020-11-30 15:09

    Yes... unless you go out of your way to run one of the commands in the background, one will finish before the next one starts.

提交回复
热议问题